Try <div t:type="layout/Basic"> because of name optimizations:
http://tapestry.apache.org/tapestry5/tapestry-core/guide/component-classes.html
Cheers,
Nick.
ronaldlee wrote:
Hi,
I am able to create a simple layout components. But I want to organize my
components by putting them into a sub-package under the default
"components", but it is not working.
For example, if I put my BasicLayout.java and .html file just under
"components", and my content page reference that layout by this:
<div t:type="BasicLayout">
</div>
this will work. But if I create a sub-package "layout" under "components"
and more those java and html files over (of course I changed the package of
that java file to match the new directory), and then I reference that in my
content page like this:
<div t:type="layout/BasicLayout">
</div>
this doesn't work for me. Same thing happen to components. It will throw
exception like "Unable to resolve component type..."
I am using T5.0.5, does this feature supported?
thx!
Ronald
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]