| Author |
Dynamic Population of check box using <logic:iterate>
|
namita sasa
Ranch Hand
Joined: Apr 20, 2009
Posts: 56
|
|
Hi,
I tried to search a lot but couldn't find any solution why this is happening. I am having problems with dynamically populating check boxes using struts. I want to display checkboxes in JSP for all types of club which are present in array 'allClub_type' and make only those 'checked' who are present in another array 'selectedClub_type'. The all club types are stored in DB and I am fetching it using query which gives result in recordG. The selected club types are also stored in DB and I am fetching it using query which gives result in recordF. Now, I want to display checkboxes for all club choices(total 10) but want to check only those who are present in selected.
I am getting following error:
Cannot find bean: "all" in any scope
My Jsp:
My action class:
My form Bean contains:
Any help is greatly appreciated!!
|
 |
namita sasa
Ranch Hand
Joined: Apr 20, 2009
Posts: 56
|
|
Can anyone help me here? I am using this struts tag first time.
Thank you.
|
 |
 |
|
|
subject: Dynamic Population of check box using <logic:iterate>
|
|
|