| Author |
s:if and enum enum test.
|
paddy Mahadeva Iyer
Ranch Hand
Joined: Feb 10, 2007
Posts: 63
|
|
Hi,
I have to compare an enum in my <s:if> tag. The code i have written is
Here getMyEnum will return me an enum object of type MyEnum. I need to check if the object's string value is equal to "x" or not. I know this code is not correct. But i tried a lot of things like using toString() of enum and all. Can somebody help please.
Thanks in advance
|
 |
 |
|
|
subject: s:if and enum enum test.
|
|
|