Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts Users »

Re: on using beans in different scopes

teknokrat

2003-07-03

Replies:

teknokrat wrote:

> I have a number of beans set in the application scope that I want to use
> in various select boxes. The docs say to use
> <html:options collection="bean"> where bean is the bean "in some scope".
>
> However when I try this I get an exception "no bean specified"
> eventhough I can show that the required bean is available in the
> application scope.
>
> what am i missing here? there is no scope field in the html:options tag
> to let it know where to look for the bean...
>
> thanks

Ok I get it - you can't use arrays in collections. doh!



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@(protected)
For additional commands, e-mail: struts-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.