Hi,

It’s a good suggestion but I still can't get it to work,

My JPP code is:
                                                                       
           <html:select property="ccy" styleClass="dropdown" styleId="ccy">
                                                                       
                   <html:options collection="ccyLst"  property="rows" />
                                                                       
           </html:select>
 
error is "Cannot create iterator for
[EMAIL PROTECTED]"

RowSetDynaClass ccyLst is in session scope….

chhum




Quoting Laurie Harper <[EMAIL PROTECTED]>:

> [EMAIL PROTECTED] wrote:
> > Hi,
> > I've got a dynabean stored in session scope with a list of swift
> codes
> > and descriptions in it.  In an action form/jsp I want to output
> this
> > list to a combo box.  I can do this using an iterate of my own but
> don't
> > know how to get the current value from the actionform. 
> Alternatively I
> > thought I could use 
> > 
> > <html:options collection="cyclist"  property="dynaProperties" />
> > 
> > but this comes back with "Cannot create iterator for 
> > [EMAIL PROTECTED]"
> > 
> > How can I do this?
> 
> So 'cyclist' names a bean of type RowSetDynaClass? 'collaction' is
> meant 
> to name a bean which is a collection, (List, Set, etc) and 'property'
> 
> should be the name of a property of the elements in the collection,
> not 
> a property of the collection itself.
> 
> What you want is probably more like
> 
>    <html:options name="cyclist" property="rows"/>
> 
> L.
> 
> 
> ---------------------------------------------------------------------
> 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