Hi,

On Wed, Oct 10, 2012 at 12:56 PM, venkat <[email protected]> wrote:
> Hi ,
>
> I have a scenario, where from a Page link have to render a popup window and
> on submit of the popup window have to set the drop down selected value  of
> the parent window with the selected values from popup window.
>
> I have created the popup using BookMarkablePageLink and passing page
> parameters. Have passed the text fileds markupId as parameter and on submit
> of popup window have used
>
> window.parent.document.getElementById (" + this.parms.get("targetId") +

This should be 'window.opener', not 'window.parent'.

> ").value = 'test';
> window.close using appendJavaScript method. However it is not populating
> parent windows text filed.
>
> One of the crux in this case is my parent window is in side a tabbed panel,
> I doubt this might be forcing it to fail to set up.
>
>
> I would appreciate a quick response.
>
> Thanks in advance!
>
>
>
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/How-To-Pass-Objects-through-PageParameters-in-Wicket-1-5-tp4652830.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to