Re: Optiontransferselect list issue

2008-04-02 Thread Ryan
Well, I got it working...thanks for the sanity check, Laurie! The user.groups collection was not getting assigned appropriately at the bottom of a long, dark path of assignment logic. I suppose a null collection really isn't technically a collection, hence the exception error message, but the messa

Re: Optiontransferselect list issue

2008-04-02 Thread Laurie Harper
Have you double-checked that getUser().getGroups() is returning what it should be? I.e. getUser() is not returning null; getUser().getGroups() is really returning a collection? As a sanity check, what happens if you include the following in your JSP: user: user.groups:

Re: Optiontransferselect list issue

2008-04-02 Thread ryangr
> Are you just missing the getter for user? Struts2 has to call > getUser().getGroups(). The action has getters and setters for both user and groups, and the user object has a getter/setter for its groups attribute. > I never have these two attributes pointing to the same property. It may > w

Re: Optiontransferselect list issue

2008-04-01 Thread Jeromy Evans
ryangr wrote: With that being said...I can populate the list "groups" just fine, but when I try to use "user.groups" to get the other list it throws an exception that says: "The requested list key 'user.groups' could not be resolved as a collection/array/map/enumeration/iterator type." What am I