Nuwan,

Infact I tried this....but did not help.
I could see a small select box, nothing is displayed in it. I Guess it
expects only options to be provided inside <nested:select
Even after providing the value for <bean:write it's the same....

Regards


-----Original Message-----
From: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] 
Sent: Saturday, January 20, 2007 3:29 AM
To: Struts Users Mailing List
Subject: Re: nested:select to logic:iterate or nested:iterate

<nested:select property='<%=dataFrom+"Bean.prdIdsList"%>'
multiple="true" size="3" styleId='<%=dataFrom+"prdIds"+(index)%>'
styleClass="textField" >

<logic:iterate name="<%=IConstants.SESSION_ATTR_SCR_PRODUCTS%>" 
id="product">
<bean:write name="product"/>
</logic:iterate>

</nested:select>


Thanks,

Nuwan

----- Original Message ----- 
From: "Bhanu Valasa" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Friday, January 19, 2007 7:20 PM
Subject: nested:select to logic:iterate or nested:iterate


Hello gurus....



I have struts tag in my jsp, which displays HTML select option box with
selected (a String array in the bean)



<nested:select property='<%=dataFrom+"Bean.prdIdsList"%>'
multiple="true" size="3" styleId='<%=dataFrom+"prdIds"+(index)%>'
styleClass="textField" >

<html:options collection="<%=IConstants.SESSION_ATTR_SCR_PRODUCTS%>"
property="id" labelProperty="value"/>

</nested:select>



Instead HTML Select box I want to print the String array elements in
text format.



Could some one please help me how to use logic:iterate or nested:iterate



Please suggest....



thanks





---------------------------------------------------------------------
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]

Reply via email to