Martin,

since a logicsheet gets processed before your XSP code is processed, you
should be able to access the request object as you would normally.
Essentially, the logicsheet acts like any other XSLT stylesheet to modify
your XML file prior to XSP processing.  The result of applying all of your
logicsheets should look like an XSP program, which is then converted into
Java and compiled.  So, you shouldn't have any trouble getting request
information in code inside your logicsheet, as long as you aren't trying to
get request information outside the single user element inside the
<xsp:page> element.  If this doesn't help, try posting your code to the
list.

If you are using C1.8.2, you can also use the request taglib, just be sure
to declare the request namespace in both your logicsheet and your XML
document.

-Christopher




Please respond to [EMAIL PROTECTED]

To:   <[EMAIL PROTECTED]>
cc:

Subject:  Accessing request information out of a logicsheet?


I have some problems with accessing the request information out of a
logicsheet.
I have a XML document (index.xml) without any XSP tags (only content). I
use
a XSP
logicsheet (index-xsp.xsl) to apply some logic to the XML document (current
date, ...).

I also try to access the request information out of the logicsheet but this
don't not work.
I think the problem is that because I request the XML document (index.xml)
and not the
logicsheet (index-xsp.xsl) there is no request information accessible thru
the logicsheet.

Do you know any solution or workaround for this problem?

thanks,
martin



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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








---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to