struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shahfazal <>
Subject check box values get from collection
Date Fri, 26 Dec 2003 00:41:52 GMT
I have to display rows based on an SQL query. i have the value objects 
returned in a collection. while iterating thru the collection i have to 
display a checkbox at the startingof the row with a value that is one of 
the properties of the Value object. i wrote something like

<logic:iterate id="appList" name="incompleteFolderForm" 
   <td class="ContentGray">
<html:checkbox property="applicationIds" value="<bean:write name="appList" 
   <td class="ContentGray" ><bean:write name="appList" 
property="lastName"/>,<bean:write name="appList" property="firstName"/></td>

i have a IncompleteFolderForm bean that has a getApplications() method 
which returns a Collection of ApplicationVO value Objects.

i thought the value attribute in html:checkbox will take in the bean:write 
and set the applicantId as teh value to that checkbox (like we can do in 
webworks)..and thus iterate thru the whole applications collection w/ each 
checkbox havign a value of its application id but it's not going good .. it 
points to the html:checkbox line and says equal symbol expected .. i'm not 
sure if i'm doign it right ..would be great if anyone could help .. thanx a lot


Shahfazal Mohammed
Research A$$i$tant
Center for Business and Information Technologies

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message