Bottom line - I'm trying to avoid writing an "external" to get some information from the ContextRequest object. It would be an added bonus if LSDS caching would add specific fields from the ContextRequest to it's key (signedin or not for example)
From within an XSL component you can call out to Java land to get static things. For example:
random number: <xsl:value-of select="java:java.lang.Math.random()" xmlns:java="http://xml.apache.org/xalan/java"/>
current time: <xsl:value-of select="java:java.lang.System.currentTimeMillis()" xmlns:java="http://xml.apache.org/xalan/java"/>
I would like to reach out and access the current ContextRequest. If it's possible can you help out with a 3 line example? If it's not possible ... then .... never mind.
Use case:
I have a rather complicated XSL template that requires a one line change if the visitor is signed in vs not signed in. It would be an added bonus if the component could be cached with specific fields from the RequestContext as part of the key.