Andreas Hartmann wrote:
Robert Goene wrote:

Hi,

I need to retieve the absolute path of the lenya directory in a sitemap.
I cannot use the context:// protocol, because i have to pass the
directory as a parameter. Is there any way i can determine the absolute
path?


Take a look at the RealPathModule:

http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/input/RealPathModule.html
Sounds nice! Cocoon would suprise me if there wasn't a module for this.
How do i use the module? Something like {realpath://lenya/pubs/{page-envelope:publication-id}/work/lucene/index}
The cocoon.xconf tells me that the module is called realpath.

Robert

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

Reply via email to