<logic:present name="FileName">
<logic:iterate id="attachList" name="FileName">
<logic:iterate id="attachList2" name="FileName">
<bean:define id="test" name="attachList1" property="value" />
<bean:define id="test1" name="attachList2" property="value" />
<html:checkbox property="checkAttachment"
value="<%=test1.toString()%>"/>
<a href="javascript:openAttachment('<bean:write
name="attachList1" property="value"/>')">
<bean:write name="attachList2" property="value" />
</a>
</logic:iterate>
</logic:iterate>
</logic:present>
try this
--
Snehal K. Gandhi | Email : [EMAIL PROTECTED]
Financial Services Group | http://www.cognizant.com <http://www.cognizant.com/>
Cognizant Corporation | Ph:91-44-52096000
Mobile : +91 98400 57326 | Xtn:8118, Vnet:48128
-- The secret to enjoying your job is not to change your job but to change your
attitude..
-----Original Message-----
From: Samyukta Akunuru [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 11, 2004 7:45 PM
To: Struts Users Mailing List
Subject: RE: Regarding Array List - Select
I have the same related problem...
i want to use logic:iterate to loop through my bookID values and print it as a drop
down using <html:select>
Here is what I am trying to do....
<html:select property="bookID ">
<html:options collection="books" property="bookID "
labelProperty="bookName"/>
</html:select>
seems something wrong with this....how do i do this....
Thanks.
-----Original Message-----
From: Ramachandran [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 11, 2004 8:20 AM
To: Struts Users Mailing List
Subject: Regarding Array List - Select
Hi all,
I am in the need of help regarding array list with select
option. I am having two Array List. One is for displaying value in the
select box. Other is for value in the option.
How can i do that one.This is my code. If any body knows,
please mail me.
Here 'allreqids' is one arraylist and 'allreqidsonly' is another
arraylist. Here i want to give the value of 'allreqidsonly' in the option.
And 'allreqids' if for berween the options.
How can i do that one....
<select name="reqidcheck" size="1">
<%for(int i = 0; i < allreqids.size(); i++) {%>
<option
value="<%=allreqids.get(i)%>"><%=allreqids.get(i)%></option>
<%}%>
</select>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This e-mail and any files transmitted with it are for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and
destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or
copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.
Visit us at http://www.cognizant.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]