Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to open popup in Spring WebFlow using Javascript

807605May 30 2007 — edited Jul 17 2007
Hi 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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 14 2007
Added on May 30 2007
2 comments
2,283 views