This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Populating values from iframe to parent page - Struts 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Populating values from iframe to parent page - Struts 2" Watch "Populating values from iframe to parent page - Struts 2" New topic
Author

Populating values from iframe to parent page - Struts 2

Jer Deras
Greenhorn

Joined: Sep 29, 2009
Posts: 10
Hi,

I have a parent JSP in which i have a text field and a search icon. on clicking the search icon it opens an iframe. i have a table in iframe with multiple rows and each row having a check box. the table is populated from database and each row is a VO. 'n' number of checkboxes can be selected and on click of the button in iframe the corresponding values shld be populated in the text box in parent JSP. help me how to proceed with the same.
Jer Deras
Greenhorn

Joined: Sep 29, 2009
Posts: 10
Jer Deras wrote:Hi,

I have a parent JSP in which i have a text field and a search icon. on clicking the search icon it opens an iframe. i have a table in iframe with multiple rows and each row having a check box. the table is populated from database and each row is a VO. 'n' number of checkboxes can be selected and on click of the button in iframe the corresponding values shld be populated in the text box in parent JSP. help me how to proceed with the same.



 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Populating values from iframe to parent page - Struts 2