Back Forum Reply New

Popup issue

When i open a popup from javascript, I find that even if call the quot;bindquot; method in my formAction class the values from the parent jsp's are not bound to the command object.. Here is my code

Popup code in jsp:

Code:
function fnSubmit()
{
window.open('guess.do?_flowExecutionKey=${flowExecutionKey}amp;_eventId=popup','Summary','height=100,width=300,left=450,top=450,status=no,toolbar=no,menubar=no,location=no');
}

*flow.xml:

Code:
lt;view-state id=quot;newGamequot; view=quot;guessNumquot;gt;
lt;render-actionsgt;
lt;action bean=quot;formActionquot; method=quot;setupFormquot; /gt;
lt;action bean=quot;myActionquot; method=quot;myMethodquot; /gt;
lt;/render-actionsgt;
lt;transition on=quot;popupquot; to=quot;popupPagequot;gt;
lt;action bean=quot;formActionquot; method=quot;bindquot; /gt;
lt;!-- calling the bind method --gt;
lt;action bean=quot;myActionquot; method=quot;testquot; /gt;
lt;!-- this test method is to test the bound value --gt;
lt;/transitiongt;
lt;/view-stategt;

lt;view-state id=quot;popupPagequot; view=quot;summaryquot;gt;
lt;/view-stategt;
I just have to close that page after view... so there is no transition or any further execution...Is my assumption correct or should i change anything for the value to be populated in my command object...?

Hi

I am also facing exactly the same issue...

Any body plz help us out..

Inspite of putting bind the infomation present in screen is not getting binded to the command object while calling popup in javascript

Guys,

I am facing similar problem.

I open a popup from jsp and upload a file from the popup.

I set a variable in request or conversation scope and want to refresh the parent page so that I can display the path in EL (lt;cut value=quot;{uploaducl}quot;/gt;)

However I am not able to refresh the parent page.

Can anyone throw some light, Erwin?

Thank You,

~Ritesh
¥
Back Forum Reply New