File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes HTML:CHECKBOX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "HTML:CHECKBOX " Watch "HTML:CHECKBOX " New topic


Keith Lockey
Ranch Hand

Joined: Oct 05, 2001
Posts: 48
I have a bean of beans

and I am trying to display them with the values of the transaction beans adjacent to a checkbox. If I check the check box next to one of the transaction beans, then the data stored in it will be passed to another jsp page.

How do I reference the transaction bean values? with an index?

Thanks,<br />Keith
Keith Lockey
Ranch Hand

Joined: Oct 05, 2001
Posts: 48
<html:checkbox name="workboxbeans" property="transactionBeans[<%=i%>].selectionOption"/>

the i will not get resolved
I agree. Here's the link:
Similar Threads
Java Servlet can't recognise the package for Java beans
EJB Application dev process
using servlet to set bean property and display it in JSP
Trying to invoke method using reflection
Displaying Data Without DataTable