You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Luther Baker <lu...@gmail.com> on 2009/03/30 18:28:50 UTC

t:body

For some reason, my brain likes to keep a consistent capitalization strategy
...

So, I've grown accustomed to

t:Parameter
t:ActionLink
t:PageLink

and home/Index.tml, home/Index.java ... etc

I just noticed that in my latest new project, I used <t:Body/> in a layout
template and I'm getting an error:

Exception assembling root component of page home/Index: Unable to resolve
'Body' to a component class name. Available component types: ActionLink,
AddRowLink, AjaxFormLoop, Any, BeanDisplay, BeanEditForm, BeanEditor,
Checkbox, DateField, Delegate, Errors, EventLink, ExceptionDisplay, Form,
FormFragment, FormInjector, Grid, GridCell, GridColumns, GridPager,
GridRows, If, Label, Layout, LinkSubmit, Loop, Output, OutputRaw, PageLink,
Palette, PasswordField, ProgressiveDisplay, PropertyDisplay, PropertyEditor,
Radio, RadioGroup, RemoveRowLink, RenderObject, Select, Submit,
SubmitNotifier, TextArea, TextField, TextOutput, Unless, Zone.

If I switch to <t:body/> ... all is well.

Just thought this was interesting.

-Luther

Re: t:body

Posted by Luther Baker <lu...@gmail.com>.
TAP5-615

Thanks,

-Luther


On Tue, Mar 31, 2009 at 1:57 PM, Howard Lewis Ship <hl...@gmail.com> wrote:

> Please add a bug; Tapestry should not be case sensitive about this
> (regardless about what the schema says). t:body and t:Body should be
> equivalent.  Tapestry 5.1 may already do this correctly.
>
> On Mon, Mar 30, 2009 at 9:28 AM, Luther Baker <lu...@gmail.com>
> wrote:
> > For some reason, my brain likes to keep a consistent capitalization
> strategy
> > ...
> >
> > So, I've grown accustomed to
> >
> > t:Parameter
> > t:ActionLink
> > t:PageLink
> >
> > and home/Index.tml, home/Index.java ... etc
> >
> > I just noticed that in my latest new project, I used <t:Body/> in a
> layout
> > template and I'm getting an error:
> >
> > Exception assembling root component of page home/Index: Unable to resolve
> > 'Body' to a component class name. Available component types: ActionLink,
> > AddRowLink, AjaxFormLoop, Any, BeanDisplay, BeanEditForm, BeanEditor,
> > Checkbox, DateField, Delegate, Errors, EventLink, ExceptionDisplay, Form,
> > FormFragment, FormInjector, Grid, GridCell, GridColumns, GridPager,
> > GridRows, If, Label, Layout, LinkSubmit, Loop, Output, OutputRaw,
> PageLink,
> > Palette, PasswordField, ProgressiveDisplay, PropertyDisplay,
> PropertyEditor,
> > Radio, RadioGroup, RemoveRowLink, RenderObject, Select, Submit,
> > SubmitNotifier, TextArea, TextField, TextOutput, Unless, Zone.
> >
> > If I switch to <t:body/> ... all is well.
> >
> > Just thought this was interesting.
> >
> > -Luther
> >
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: t:body

Posted by Luther Baker <lu...@gmail.com>.
On Tue, Mar 31, 2009 at 2:36 PM, Yancey Yeargan <ya...@unt.edu> wrote:

>
> Tapestry 5.1 does handle this correctly. I checked by changing "<t:body/>"
> to "<t:Body/>" within the Layout.tml template of the quickstart example
> project and it worked as expected.



That is correct for 5.1.0.0, but this bug is specific to 5.1.0.1.

It is identified it as such in JIRA.

*        Affects Version/s:*         5.1.0.1

-Luther

Re: t:body

Posted by Yancey Yeargan <ya...@unt.edu>.
Tapestry 5.1 does handle this correctly. I checked by changing  
"<t:body/>" to "<t:Body/>" within the Layout.tml template of the  
quickstart example project and it worked as expected.

Yancey



On Mar 31, 2009, at 1:57 PM, Howard Lewis Ship wrote:

> Please add a bug; Tapestry should not be case sensitive about this
> (regardless about what the schema says). t:body and t:Body should be
> equivalent.  Tapestry 5.1 may already do this correctly.
>
> On Mon, Mar 30, 2009 at 9:28 AM, Luther Baker  
> <lu...@gmail.com> wrote:
>> For some reason, my brain likes to keep a consistent capitalization  
>> strategy
>> ...
>>
>> So, I've grown accustomed to
>>
>> t:Parameter
>> t:ActionLink
>> t:PageLink
>>
>> and home/Index.tml, home/Index.java ... etc
>>
>> I just noticed that in my latest new project, I used <t:Body/> in a  
>> layout
>> template and I'm getting an error:
>>
>> Exception assembling root component of page home/Index: Unable to  
>> resolve
>> 'Body' to a component class name. Available component types:  
>> ActionLink,
>> AddRowLink, AjaxFormLoop, Any, BeanDisplay, BeanEditForm, BeanEditor,
>> Checkbox, DateField, Delegate, Errors, EventLink, ExceptionDisplay,  
>> Form,
>> FormFragment, FormInjector, Grid, GridCell, GridColumns, GridPager,
>> GridRows, If, Label, Layout, LinkSubmit, Loop, Output, OutputRaw,  
>> PageLink,
>> Palette, PasswordField, ProgressiveDisplay, PropertyDisplay,  
>> PropertyEditor,
>> Radio, RadioGroup, RemoveRowLink, RenderObject, Select, Submit,
>> SubmitNotifier, TextArea, TextField, TextOutput, Unless, Zone.
>>
>> If I switch to <t:body/> ... all is well.
>>
>> Just thought this was interesting.
>>
>> -Luther
>>
>
>
>
> -- 
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>


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


Re: t:body

Posted by Howard Lewis Ship <hl...@gmail.com>.
Please add a bug; Tapestry should not be case sensitive about this
(regardless about what the schema says). t:body and t:Body should be
equivalent.  Tapestry 5.1 may already do this correctly.

On Mon, Mar 30, 2009 at 9:28 AM, Luther Baker <lu...@gmail.com> wrote:
> For some reason, my brain likes to keep a consistent capitalization strategy
> ...
>
> So, I've grown accustomed to
>
> t:Parameter
> t:ActionLink
> t:PageLink
>
> and home/Index.tml, home/Index.java ... etc
>
> I just noticed that in my latest new project, I used <t:Body/> in a layout
> template and I'm getting an error:
>
> Exception assembling root component of page home/Index: Unable to resolve
> 'Body' to a component class name. Available component types: ActionLink,
> AddRowLink, AjaxFormLoop, Any, BeanDisplay, BeanEditForm, BeanEditor,
> Checkbox, DateField, Delegate, Errors, EventLink, ExceptionDisplay, Form,
> FormFragment, FormInjector, Grid, GridCell, GridColumns, GridPager,
> GridRows, If, Label, Layout, LinkSubmit, Loop, Output, OutputRaw, PageLink,
> Palette, PasswordField, ProgressiveDisplay, PropertyDisplay, PropertyEditor,
> Radio, RadioGroup, RemoveRowLink, RenderObject, Select, Submit,
> SubmitNotifier, TextArea, TextField, TextOutput, Unless, Zone.
>
> If I switch to <t:body/> ... all is well.
>
> Just thought this was interesting.
>
> -Luther
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

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