Passing info from child window to parent window in JSF

From One. JSP i am opening a child using

<h:commandLink action="newPage" target="_blank">

<h:outputText value="GoTo New Page"/>

</h:commandLink>

and in the opened jsp i enter some info and when click on Submit this information is updated in the parent(One.JSP) and child window has to teminate.

do i need to use javaScript.

[457 byte] By [veerjaa] at [2007-11-27 6:41:43]
# 1
hi,did u mean u open a popup and enter some text and it should reflect some textfields in parent window..am i correct?Regards,A.
Ananth.duraia at 2007-7-12 18:11:26 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Yes , Its like that only...
veerjaa at 2007-7-12 18:11:26 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
then u try this javascript in your popupopener.document.getElementById("ur parent compont id") .value = "some value"Note:This code should be written before you close the child window (i.e) before using window.close().
Ananth.duraia at 2007-7-12 18:11:26 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...