You can do this if you package your pages as a library. Only problem is that your Home and Login pages still need to be outside the library but everything else we package inside the library. It does make for some large packages. 10 java page classes suddenly become 30 java/page/html files so I suggest you be a little more fine-grained in your package structure.
mike -----Original Message----- From: Jason L. Buberel [mailto:[EMAIL PROTECTED] Sent: Monday, October 10, 2005 9:58 AM To: Tapestry users Subject: Re: Page 'Home' not found in application namespace without .page file Yep- all .html and .page files need to be in a single top-level directory. I learned this through experimentation too. My first preference was to place the .page and .html files along with the .java files in my src tree: src/com/foo/bar/SomePage.java src/com/foo/bar/SomePage.page src/com/foo/bar/SomePage.html because I like to keep like-things together. But that didn't work either. -jason On Sunday 09 October 2005 23:55, Kosarev A.V. wrote: > > Hmm . . . perhaps to your context/ directory (assuming you have > > context/WEB-INF/). If not, then I'm all out of ideas, unfortunately. > > With files structure: > Home.html > WEB-INF/ > classes/ru/myapp/tapestry/admin/pages/Home.class > admin.application > web.xml > all working, but this inconveniently, since I can't separate files in > folders. Variant admin/Home.html WEB-INF/ > classes/ru/myapp/tapestry/admin/pages/Home.class > admin.application > web.xml > doesn't work. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Jason L. Buberel -- [EMAIL PROTECTED] -- www.buberel.org +1.650.483.1989 -- jabber:[EMAIL PROTECTED] --------------------------------------------------------------------- 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]
