This week's giveaways are in the MongoDB and Jobs Discussion forums.
We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Pass value from parent window to child action class Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Pass value from parent window to child action class" Watch "Pass value from parent window to child action class" New topic
Author

Pass value from parent window to child action class

Rajagopal Mani
Ranch Hand

Joined: Mar 24, 2011
Posts: 80

Hi everybody,

The parent page contains table with multiple columns where first column is the checkbox column and this page is having edit button as well. When checkbox is selected, edit button will be enabled. Please note all the row checkbox associates with one unique ID say rowID.

This edit button associate with javascript function from which the edit popup screen is opened. In this JS function, the rowID could able to obtain and the same is set as hidden field. The problem is the action class of popup is not able to obtain the rowID which has been set as hidden field. I understood like the form hidden field can be accessed only in the mapping action associated with parent page form. Please clarify whether this understanding is correct.

If yes, please help in which way that rowID can be accessed in action class of popup window.
Rajagopal Mani
Ranch Hand

Joined: Mar 24, 2011
Posts: 80

Can anybody reply for this topic?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pass value from parent window to child action class
 
Similar Threads
javascript function not sure how it works
setting hidden field value using javascipt
Popup form, parent form
Update Value from a child window
problem getting result jsp to parent window