Re: Create sub-package base on Tapestry5.0.4

2007-05-20 Thread Allen Guo
I did a lot of test yesterday. I found the real problem is If the page class start with package name then you put it under WEB-INF/, it won't work . For example, suppose there is a page class named Admin.java or Admin1.java lie in the sub package name is 'org/opend/bogo/pages/admin/' , it won't

Re: Create sub-package base on Tapestry5.0.4

2007-05-19 Thread Allen Guo
It does work if I put the Shop.html inside org/opend/bogo/pages/admin/ But it really doesn't work if put it under WEB-INF/admin :( I visit the page with "http://localhost/bogo/admin/Shop"; , am I right? Howard Lewis Ship 写道: org.opend.bogo.pages.admin.Shop will search for its template on the c

Re: Create sub-package base on Tapestry5.0.4

2007-05-19 Thread Howard Lewis Ship
org.opend.bogo.pages.admin.Shop will search for its template on the classpath as org/opend/bogo/pages/admin/Shop.html or in the web context as WEB-INF/admin/Shop.html. I'm pretty sure this works, because I was demoing it for a client recently ... On 5/19/07, Allen Guo <[EMAIL PROTECTED]> wrote: