This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I want to map data from 1st action to data in my second action....
Actually the problem is
I have a page - 1 on which I when i press login..action - 'login' is generated. This action takes me to page-2 where i display list (ie which is fetch from the remote service). i iterate the list and display on page 2.while iterating i use <s:checkbox/> and <s:radio/> to display checkbox and radiobuttons alongside records(displayed on the screen from th list) .
Now I want is that when i press Continue button(another action generates which takes me to next page) the records which are displayed with checkboxes ticked or radio button selected(i need solution for both as i am somewhre usng checkboxes somewhere radio) . should be available to me in the List Object with radiobutton variable as true of false (which is in the list), and checkbox variable as true or false .
I tried doingg it but the problem is when i click continue , the data from the list dissapers from valuestack and list. and the list is not set through checkbox or radiobutton selected
parsinglord jain wrote:I tried doingg it but the problem is when i click continue , the data from the list dissapers from valuestack and list. and the list is not set through checkbox or radiobutton selected
As per my understanding,
I think, in second action you are referring the list which is declared in the first action (used to populate the check boxes). This will not be available for second action.
I think you need to declare/make array of string (NOT LIST – but i have not tried with lists) in second action with the name of the check box (for selected check box values).
Joined: Aug 13, 2010
code is as below.......................
Now the problem is that
lines 7 to 11 are used to display values from the asnrVO.accountDetailsListBOList...and when i click on continue...I want that radio button code which is on line 13-14....sets me the value of addpayer variable as true of false depending on the choice ..in the same list (asnrVO.accountDetailsListBOList) which i am iterating to display the record.