aspose file tools*
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 Java 8 in Action this week in the Java 8 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
Trying to invoke method using reflection
Java Servlet can't recognise the package for Java beans
EJB Application dev process
Displaying Data Without DataTable
using servlet to set bean property and display it in JSP