On Sat, 29 Sep 2012 00:16:57 -0300, Ken in Nashua wrote:
Thanks Thiago... that worked for my one class.But...@java.lang.Math@min(collection.size,itemsPerPage)the above statement... I am sure you know what it is T4Don't be so sure. The first usable versions of Tapestry 5 were released 4 years ago.
() {
> return Math.class;
> }
>
> and on and on... for any other classes I would like to use.
>
> kcola...@live.com
>
>
>
>
> > To: users@tapestry.apache.org ;
> > kcola...@live.com
> > Subject: Re: is there a way to refer to a Class type in a tml ?
in T5 to do this?
I feel like I need to design another
public Class mathClass() {
return Math.class;
}
and on and on... for any other classes I would like to use.
kcola...@live.com
> To: users@tapestry.apache.org; kcola...@live.com
> Subject: Re: is there a way to refer to a Clas
On Fri, 28 Sep 2012 15:28:41 -0300, Ken in Nashua
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