Hi, I've tried quite a number of variations on this including the one suggested in the previous email but no joy so far. This variant:
<html:select property="ccy" styleClass="dropdown" styleId="ccyLst"> <html:optionsCollection name="ccyLst" property="rows" /> </html:select> Gets the error "no getter method for property rowsÂ…" If I was trying to access this data from a servlet the code would be something like: List rows = ccyLst.getRows(); Iterator it = rows.iterator(); while (it.hasNext()){ DynaBean row = (DynaBean) it.next(); } chum Quoting Dave Newton <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: > > >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.... > > > > > The collection attribute must be a _collection_. RowSetDynaClass > isn't a > collection. > > Did you try what the email suggested, using the "name" and "property" > > attributes? > > Dave > > >Quoting Laurie Harper <[EMAIL PROTECTED]>: > > > > > >>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] > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]