Thx, it works. There seems to be some inconsistency here. When I try: <div t:type="layout.reportborder"></div>
it doesn't work.. Ronald > Date: Wed, 24 Oct 2007 13:53:09 -0400 > From: [EMAIL PROTECTED] > To: [email protected] > Subject: Re: T[5] Organizing components/layouts > > Take a look at this: > > http://wiki.apache.org/tapestry/Tapestry5ComponentClassResolverError > > > > In my code I do things like this: > > > <t:layout.reportborder > xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> > <t:layout.borderwirebox> > ...etc > ...etc > > On 10/24/07, ronaldlee <[EMAIL PROTECTED]> 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 > > -- > > View this message in context: > > http://www.nabble.com/T-5--Organizing-components-layouts-tf4685215.html#a13388801 > > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Connect to the next generation of MSN Messenger http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
