cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juan J. Merelo" <jj.mer...@civista.com>
Subject Re: Can a logicsheet get the name of the xml file that calls it?
Date Thu, 09 Nov 2000 06:43:29 GMT

----- Original Message -----
From: "OD" <od@feersumendjinns.com>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, November 08, 2000 12:51 AM
Subject: Can a logicsheet get the name of the xml file that calls it?


> Can a logicsheet get the name of the xml file that calls/uses it?
>
> Thanks
>

Not really, but if you build the XML file as a XSP, you can use the request
taglib to get a lot of the stuff from the URI it's being called. For
instance, you could put

<path><request:get-path-info /></path>

into the XML file, and then match path with a template within the
logicsheet.

Good luck!

J


Mime
View raw message