You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dinesh B sampangi <di...@hotmail.com> on 2003/05/16 20:08:40 UTC

using external bean in nested iterate

hi! All,
     Can i use a collection bean which is not defined within the nested bean and get/set values for the property which is defined with the nested bean.

   for eg:
         BEAN3 nested inside BEAN 2 nested inside BEAN1
          and collection bean "LIST" is not nested in any of the beans . 
                 so if i use
         <nested:iterate property="BEAN2">
             <nested:iterate property="BEAN3">
             <nested:options property="LIST">
          </nested:iterate>
       </nested:iterate>

can i get and set the values of the select box. or is there any workaround to define the collection in the formbean and use for the same purpose.

please!!! help its urgent......

TIA
Dinesh