Re: organizing HTML pages into subdirectories

2007-08-23 Thread Daniel Jue
Abhilash,
Are you using Tapestry 4 or 5?

There is a certain directory structure you should model after for
either case.  I suggest finding a demo or tutorial and starting with
that, then grow your application from there.  Start with something
that works.

With Tapestry 4, you may have to specify your subdirectories in your
web.xml using very simple text files called libraries, IIRC.  Search
the mailing list for Tapestry 4 subdirectory, if you are using T4.



On 8/23/07, abhilash [EMAIL PROTECTED] wrote:

 Thanks for the reply but problem is my html page is unable to find its parent
 java classes!
 am i missing to give something in specifications?


 abhilash wrote:
 
  I have a sub directory called admin under WEB-INF .My servlet mapping is
   servlet-mapping
servlet-namedentaprise/servlet-name
url-pattern/app/url-pattern
 /servlet-mapping
 
  i have ListClient.html in admin directory.I am unable to get the page
  ListClient.where i have to specify my sub directory?
  any ideas?
 
 
 

 --
 View this message in context: 
 http://www.nabble.com/organizing-HTML-pages-into-subdirectories-tf4311520.html#a12287877
 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]



Re: organizing HTML pages into subdirectories

2007-08-23 Thread abhilash

Thanks for the reply.I am using tapestry4  with  tomcat5
I am using friendly URLs and trying to manage someof my HTML pages
in subdirectories .By organising the .java files in the same stucture as
the HTML pages i am getting output as static html pages .All my
userDefined tapestry components  are not working.I am unable to get
whats the problem.Is it because of Friendly URLs or because of
subdirectories.




Daniel Jue wrote:
 
 Abhilash,
 Are you using Tapestry 4 or 5?
 
 There is a certain directory structure you should model after for
 either case.  I suggest finding a demo or tutorial and starting with
 that, then grow your application from there.  Start with something
 that works.
 
 With Tapestry 4, you may have to specify your subdirectories in your
 web.xml using very simple text files called libraries, IIRC.  Search
 the mailing list for Tapestry 4 subdirectory, if you are using T4.
 
 
 
 On 8/23/07, abhilash [EMAIL PROTECTED] wrote:

 Thanks for the reply but problem is my html page is unable to find its
 parent
 java classes!
 am i missing to give something in specifications?


 abhilash wrote:
 
  I have a sub directory called admin under WEB-INF .My servlet mapping
 is
   servlet-mapping
servlet-namedentaprise/servlet-name
url-pattern/app/url-pattern
 /servlet-mapping
 
  i have ListClient.html in admin directory.I am unable to get the page
  ListClient.where i have to specify my sub directory?
  any ideas?
 
 
 

 --
 View this message in context:
 http://www.nabble.com/organizing-HTML-pages-into-subdirectories-tf4311520.html#a12287877
 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]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/organizing-HTML-pages-into-subdirectories-tf4311520.html#a12290957
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: organizing HTML pages into subdirectories

2007-08-22 Thread Hans Drexler
On Wed, 22 Aug 2007 06:17:17 -0700 (PDT), abhilash wrote
 I have a sub directory called admin under WEB-INF .My servlet 
 mapping is  servlet-mapping  servlet-namedentaprise/servlet-
 name  url-pattern/app/url-pattern   /servlet-mapping
 
 i have ListClient.html in admin directory.I am unable to get the page
 ListClient.where i have to specify my sub directory?
 any ideas?
 
 -- 
 View this message in context: http://www.nabble.com/organizing-HTML-
 pages-into-subdirectories-tf4311520.html#a12274323 Sent from the 
 Tapestry - User mailing list archive at Nabble.com.
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

You can specify the location in the dentaprise.application file, like this:

  page name=ListClient specification-path=admin/ListClients.page/

Put the .page and .html file in the same directory. The dentaprise.application
file should be in the WEB-INF directory.

Hope this helps...


Hans Drexler
GeoTax en WOZ-Support b.v.
e: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: organizing HTML pages into subdirectories

2007-08-22 Thread abhilash

Thanks for the reply but problem is my html page is unable to find its java
class!
am i missing to give something in specifications?


abhilash wrote:
 
 I have a sub directory called admin under WEB-INF .My servlet mapping is 
  servlet-mapping
   servlet-namedentaprise/servlet-name
   url-pattern/app/url-pattern
/servlet-mapping
 
 i have ListClient.html in admin directory.I am unable to get the page
 ListClient.where i have to specify my sub directory?
 any ideas?
 
 
 

-- 
View this message in context: 
http://www.nabble.com/organizing-HTML-pages-into-subdirectories-tf4311520.html#a12287877
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]