Yea, that's what I had. The problem, as usual, was programmer error. I had assumed that the array property was properly being set on the request when in fact it wasn't. I was debugging it with Eclipse and it appears that certain types of variables (static) don't show up in the variables window so I couldn't see that the collection was messed up...it took a few beats to the head to find.

Thanks for the link.

-adam

Michael Jouravlev wrote:
On 7/5/06, Adam Gordon <[EMAIL PROTECTED]> wrote:
Can anyone point me to a working example of how to render an array of String objects as a list box in a JSP such that the contents of the list box can
come from a property set on the request and not the bean mapped to the
struts Action?

It seems like this should be straight forward based on the examples I've
found on the web, but I keep getting errors when I try them which leads me
to believe that the examples have left out (obvious) steps.

Try this: http://wiki.apache.org/struts/StrutsWidgets#head-d413131b40091e2337eb036c8a7ce9e43f428aec
You must use both "name" and "property".

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