Hi!
Is there a known bug in the Cocoon cookie handling within a flowscript?
I created a cookie using
cocoon.response.addCookie(cocoon.response.createCookie("test", "test"));
and tried to get it from the request doing the following:
1. cocoon.log.debug(cocoon.request.getCookies());
-->
Lorg.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon$FOM_Cookie;@187
6e5d
2. cocoon.log.debug(cocoon.request.getCookies()[0].name);
--> test
3. cocoon.log.debug(cocoon.request.getCookies()[0].getName());
--> org.apache.avalon.framework.CascadingRuntimeException: getName is not a
function
The docs under
http://cocoon.apache.org/2.1/userdocs/flow/api.html#Cookie+Object says that
there is a method getName(). Or am I missunderstanding something?
I'm using a few weeks old CVS Head under Tomcat 4.1 and Java 1.4.2.
Greetings,
Markus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]