Actually in my case the behaviour is even more unexpected since I have 
specified a value="" attribute on the options-collection tag. So it's more 
like

o.getValueMethod().equals(o2.toString())

But as mentioned a really easy fix was to just give up my usage of 
toString() and have that return the same as my "value" method.

-dennis


"Newman, John W" <[email protected]> skrev den 28-04-2009 20:05:27:

[snip]

> I’m not sure 
> why the existing tag does something like  format(o.toString()).
> equals(format(o2.toString()) instead of o.equals(o2)

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