On 19-05-2009 at 09:56, Stone, Timothy wrote:
> Imagine the following enum...
[...]

> 
> Existing systems will process "resident status" based on the values of
> [O,R,X] *not* [OWN,RENT,OTHER].
> 
> In looking at the J2SE options, using an EnumSet or EnumMap could allow
> us to then use options-collection or options-map in the JSP.
> 
> Is this acceptable, or is there something about options-enumeration that
> could allow me to get at the value and label in the output?

Using code from J2SE in favor of something else is, in by book, not only
acceptable but even preferred. In my experience, the J2SE classes are both
written well and perform well. On top of that, they are of a better quality
than what I'm used to finding "in the field" when dealing with
administrative systems.


Oscar

-- 
   ,-_  Oscar Westra van holthe - Kind      http://www.xs4all.nl/~kindop/
  /() )
 (__ (  Trying to child-proof the world makes us neglect the more important
=/  ()  task of world-proofing the child.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to