Re: Fails to injecting a textarea

2012-03-05 Thread Thiago H. de Paula Figueiredo
On Sun, 04 Mar 2012 10:45:05 -0300, Taha Hafeez Siddiqi wrote: I usually use the html tags and assign the component type using t:type='MyComponent'. The only other place 't:' is required is with component id('id') and mixins. For other attributes you can skip the prefix. Yep. I use inv

Re: Fails to injecting a textarea

2012-03-04 Thread Taha Hafeez Siddiqi
I usually use the html tags and assign the component type using t:type='MyComponent'. The only other place 't:' is required is with component id('id') and mixins. For other attributes you can skip the prefix. regards Taha On Mar 4, 2012, at 7:08 PM, Bryan Lewis wrote: > I was a little confuse

Re: Fails to injecting a textarea

2012-03-04 Thread Taha Hafeez Siddiqi
http://tapestry.apache.org/component-templates.html "Use of the t: prefix is optional for all other attributes. Some users implement a build process where the Tapestry template files are validated ... in that case, any Tapestry-specific attributes, not defined by the underlying DTD or schema, s

Re: Fails to injecting a textarea

2012-03-04 Thread Bryan Lewis
I was a little confused about that when I started with Tap5 too. The early docs sometimes suggested that the t: prefix was needed on all component parameters. Experience said (the current docs do too) that it's required only on the t:id. (And the t:type if you're using that syntax.) Perhaps it

Re: Fails to injecting a textarea

2012-03-04 Thread Gunnar Eketrapp
Thanks! That was the problem! I am a little bit confused of when the t: prefix is needed. /Gunnar 2012/3/4 Bryan Lewis > A quick guess at the easy typo... missing 't:' before 'id'. > > > On Sun, Mar 4, 2012 at 7:51 AM, Gunnar Eketrapp > wrote: > > > I fail to inject a textarea .. > > > > T

Re: Fails to injecting a textarea

2012-03-04 Thread Bryan Lewis
A quick guess at the easy typo... missing 't:' before 'id'. On Sun, Mar 4, 2012 at 7:51 AM, Gunnar Eketrapp wrote: > I fail to inject a textarea .. > > Tml extract > value="message" style="height: 50px;"/> > > > Java extract > > > Neither .. > @InjectComponent > private TextAre

Re: Fails to injecting a textarea

2012-03-04 Thread Taha Hafeez Siddiqi
use t:id='messageField' instead of id='messageField' regards Taha On Mar 4, 2012, at 6:21 PM, Gunnar Eketrapp wrote: > I fail to inject a textarea .. > > Tml extract > value="message" style="height: 50px;"/> > > > Java extract > > > Neither .. > @InjectComponent > private T