Re: Converting Enums

2005-08-14 Thread Laurie Harper
Niall McLoughlin wrote: I hope this is the right place to ask this question. Let's say I have the following class (using jdk 1.5): public enum UserType { MANAGER, SUPERVISOR, USER; } I can build a List of these types to display in an options tag easily enough: public L

Converting Enums

2005-08-13 Thread Niall McLoughlin
I hope this is the right place to ask this question. Let's say I have the following class (using jdk 1.5): public enum UserType { MANAGER, SUPERVISOR, USER; } I can build a List of these types to display in an options tag easily enough: public List getUserTypes() thr

Converting Enums

2005-08-13 Thread Niall McLoughlin
I hope this is the right place to ask this question. Let's say I have the following class (using jdk 1.5): public enum UserType { MANAGER, SUPERVISOR, USER; } I can build a List of these types to display in an options tag easily enough: public List getUserTypes() throws Exception { List i