struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Yang <kenshin...@gmail.com>
Subject Re: [S2] Getting property value from Enum
Date Tue, 26 May 2009 07:08:08 GMT
Just want to add some more information
if I do
<s:property value="gender.toString()"/>
<s:property value="gender.name()"/>
<s:property value="gender.cardinal()"/>
I get what is expected.
I guess all native Enum methods are fine.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message