Re: [S2] Getting property value from Enum

2009-05-26 Thread Matt Jiang
Don't worry, we all made this kind of mistake before. and this would not be the last time. bless you... On Tue, May 26, 2009 at 4:47 PM, Steven Yang wrote: > OMG > I can't believe myself. > how can i make such a stupid mistake > > Sorry guys for wasting your time. > > Its all my fault my method

Re: [S2] Getting property value from Enum

2009-05-26 Thread Steven Yang
OMG I can't believe myself. how can i make such a stupid mistake Sorry guys for wasting your time. Its all my fault my method name was getTextkey() but I kept on using getTextKey() or textKey (capital K) thats why it never worked its solved.

Re: [S2] Getting property value from Enum

2009-05-26 Thread Steven Yang
Just want to add some more information if I do I get what is expected. I guess all native Enum methods are fine.

[S2] Getting property value from Enum

2009-05-26 Thread Steven Yang
Hi First of all if this question has been ask, I apologize for the double post. and please refer me to the reference. thanks I am using 2.1.6. I have a Enum class Gender and it has a method getTextKey() which simply returns a key for me to use in getText() in Action If in my Action I have privat