How to open popup in Spring WebFlow using Javascript
807605May 30 2007 — edited Jul 17 2007Hi Guys
Now I am new in Spring.
I have theme.jsp page. Some images is here. If i click that image I want to show one pop window which contains existing jsp page. that jsp name is lstImg.jsp
Could you please how to open lstImg.jsp page using javascript popup window. Please help me. The following example contains my Javascript code and flow.xml file.
theme.jsp JavaScript Function :
function wel()
{
newwindow1=window.open(manager-flow?renderBare=true&_eventId=listImages", "ass","width=450,height=250");
newwindow1.moveTo(125,225);
if (window.focus) {newwindow1.focus();}
return false;
}
This is my manager-flow.xml page
<flow start-state="meters">
<view-state id="lstImg" view="ast-mgr/lstImg">
<entry-actions>
<action bean="loginBean" method="getCurrentDealer()" result-name="dlr"/>
<transition on="refresh" to="listImages" />
</view-state>
----
--
Please anyone know spring web flow help this one.
Regards
Pooja