Re: changing t:type binding prefix

2013-08-16 Thread Thiago H de Paula Figueiredo
On Fri, 16 Aug 2013 14:06:36 -0300, Nicolas Barrera wrote: Thank you Lance and Thiago, I was trying to avoid doing this, or the equivalent blocks and delegate structure. For the love of everything sacred, please don't use the else block of If. It's way confusing.

Re: changing t:type binding prefix

2013-08-16 Thread Nicolas Barrera
Thank you Lance and Thiago, I was trying to avoid doing this, or the equivalent blocks and delegate structure. But now I 've learnt that the t:type parameter uses always LITERAL prefix and that can't be changed. thank you. Nicolás.- On Fri, Aug 16, 2013 at 1:46 PM, Thiago H

Re: changing t:type binding prefix

2013-08-16 Thread Thiago H de Paula Figueiredo
On Fri, 16 Aug 2013 12:05:18 -0300, Nicolas Barrera wrote: Hi, Hi! I 've tried to dynamically change the t:type attribute of an input textfield by doing this: As Lance said, t:type is the Tapestry component type. This is completely unrelated to bindings. The HTML attribute can be se

Re: changing t:type binding prefix

2013-08-16 Thread Lance Java
In tapestry, the "t:type" attribute refers to the component type, and not the "type" attribute that is rendered in the HTML. One of Tapestry's principles is static structure, dynamic behaviour so the "t:type" can not be a runtime value (http://tapestry.apache.org/principles.html) Tapestry has sepa

changing t:type binding prefix

2013-08-16 Thread Nicolas Barrera
Hi, I 've tried to dynamically change the t:type attribute of an input textfield by doing this: