Hi,

In the documentation of the <options-collecton> tag there is the 
following:

would cause the container to look for a Collection called "cats" 
across the various JSP scopes and set it on the tag. The tag 
would then proceed to iterate through that collection calling 
getCatId() and getName() on each cat to produce HTML option tags. 

In my case let's say I'm displaying a collection of Cat instances. When 
the tag (through the option tag) 
determines if each option is selected it seems to be using the toString() 
method of the selected cat and 
comparing this to the getCatId() value.

Should it be like that? Any ideas on how to work around this?

-dennis
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to