I'm a newbie but I notice tapestry has a StringToEnumCoercion. What hapens if you do this?
<t:actionlink t:id="somelink" context="SOME_CONSTANT">...</t:actionlink> onActionFromSomelink(EnumType enum) { // i'm expecting auto coercion to do it's job here } Where EnumType is the type of your enum. Cheers, Lance. 2008/6/24 9902468 <[EMAIL PROTECTED]>: > > Hi, > > There must be a way to use enum in actionlink context. How to do this? > > I mean like: > > <t:actionlink t:id="somelink" context="Enum.SOME_CONSTANT">Do not > push.</t:actionlink> > > - 99 > -- > View this message in context: > http://www.nabble.com/-T5--How-to-use-enums-in-.tml-files-tp18090334p18090334.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >