have you looked at the struts-el stuff.....I think that has everything you
need. If not look at the JSTL stuff. That for sure has it

-----Original Message-----
From: Rick Reumann [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 7:07 PM
To: Struts Users Mailing List
Subject: Re: How to use <bean:write for arrays (String[]) ?




On Monday, November 18, 2002, 6:35:52 PM, Zsolt wrote:

ZK> <logic:iterate id="field" indexId="counter" name="rows" 
ZK>     type="java.lang.Object[]">

ZK> <bean:write ....

    I'm pretty sure you could just do
    <bean:write name="field"/>
    as you are iterating (assuming the Object[] array in this example
    is something meaningful to display (like a String or even an int).
    If it's an array of beans use..
    <bean:write name="field" property="nameOfTheFieldInTheObject"/>


-- 

Rick
mailto:[EMAIL PROTECTED]


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to