2.1.7
it seems cocoon.request.getCookieMap().get('mycookie').value will work.
I peeked at the map javadoc:
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Map.html
As an aside, I had thought there were some talks about making all the
flow stuff work like parent.object.value instead of
getParent().getObject().getValue().
JD
Mark Lundquist wrote:
On Aug 30, 2005, at 5:37 PM, JD Daniels wrote:
cocoon.request.getCookieMap()['mycookie'];
cocoon.request.getCookieMap();
Both end up undefined - yet the cookie does exist.
I am also using the cookie to choose which xsl to use in my sitemap:
<map:transform
src="context://xsl/document2{request:cookieMap/mycookie/ value}html.xsl">
{request:cookieMap/mycookie/value} being the important part there -
it works 100% - I'm sure i should be able to do the same in flow.
I believe so... maybe I missed it JD, but what version of Cocoon are
you using?
—ml—
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]