I have a String array and I am trying to see if there is a value in it.

Using: <s:if test="'foo' in myArray"> works.

I want to use the value of an enum in place of foo.

I tried <s:if test="@my.package.mye...@enum_value in myArray">

which didn't work.  Using the String literal works: <s:if
test="'ENUM_VALUE' in myArray">

Is it possible to do this using @my.package.mye...@enum_value?

Thanks

Rich

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to