You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Stephane Decleire <sd...@cariboo-networks.com> on 2008/05/28 09:12:12 UTC

T5: Enum value in a context

Is there a simple way to put an Enum value in the context of link in T5 
? In T4, i used to use ognl ...

Stephane

Re: T5: Enum value in a context

Posted by Stephane Decleire <sd...@cariboo-networks.com>.
it works with the literal prefix and the value of the enum but it's a 
bit weird isn't it ?

Stephane

Filip S. Adamsen a écrit :
> Can't you just use it like a regular context parameter?
>
> I thought coercions for enums was supported by Tapestry... although I 
> don't use it myself in contexts.
>
> -Filip
>
> Stephane Decleire skrev:
>> Is there a simple way to put an Enum value in the context of link in 
>> T5 ? In T4, i used to use ognl ...
>>
>> Stephane
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>

Re: T5: Enum value in a context

Posted by "Filip S. Adamsen" <fs...@fsadev.com>.
Can't you just use it like a regular context parameter?

I thought coercions for enums was supported by Tapestry... although I 
don't use it myself in contexts.

-Filip

Stephane Decleire skrev:
> Is there a simple way to put an Enum value in the context of link in T5 
> ? In T4, i used to use ognl ...
> 
> Stephane
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org