Have you tried includeURL('../header.html')?
- Geoff
-----Original Message-----
From: Luis Castro [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 11, 2002 12:45 PM
To: [EMAIL PROTECTED]
Subject: [Webware-discuss] includeURL and paths
I've found the following behavior using includeURL:
Suppose we have a directory structure as follows:
/bla/mycontext
/pageTemplates
/application1
/application2
and inside pageTemplates we have a BasePage sub classed from Page. This is
the page from which pages are sub classed in application1 and application2
at 'root level' in mycontext we have components that are used from BasePage
like footer.psp, header.html, as well as a style sheet file. All of this
components are included using includeURL at the proper methods. Everything
works fine when using a page (sub classed from BasePage) at mycontext level.
the problem here is that the call
includeURL('header.html')
when we are in a page from the directory application1 will actually look for
'header.html' inside application1, and if we use includeURL('/header.html')
will not have the desired effect of including the file from mycontext.
If its a feature, we do not know how to get that effect, since we do not
want to duplicate our files in every directory of application#
-----------------------------------------------------------
-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing
your web site with SSL, click here to get a FREE TRIAL of a Thawte
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss