You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by cr...@razorsports.se on 2002/06/03 10:41:32 UTC

iterate > arraylist of arrays[] to show html:select and html:options.

Hi, how do i iterate on an arrayList of arrays with beans, containg a bean
wich turn contains another bean wich has the attribute i want to show...

the html:select  does'nt seem to be able to reach the attributes of the
elements from the outer iterate.

<logic:iterate id="elements"
name="<%=StrutsConstants.ALL_PRODUCT_VARIATION_LIST%>"
type="VariationBean[]">
   <html:select size="5" multiple="yes" property="Vvb.id.id" name="elements"
styleClass="formText">
    <html:options collection="elements" property="Vvb.id"
labelProperty="valueid"/>
    </html:select>
  </logic:iterate>


any one know how its done?

hate to do it manually with just jsp.

/cv


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>