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

Reply via email to