On Fri, 28 Sep 2012 15:28:41 -0300, Ken in Nashua <kcola...@live.com> wrote:

Folks,

Hi!

I am referring to the old T4 manner in which we would refer to a class type using

@Integer.class

within a template

can this be done in T5 ?

The Tapestry 5 philosophy is to do this kind of stuff in Java, never in the template, probably putting it in a getter:

Class getIntegerClass() {
        return Integer.class;
}

In your template:

${integerClass}

--
Thiago H. de Paula Figueiredo

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

Reply via email to