cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Billard <obill...@jouve.fr>
Subject Re: How to store java obj in session using flow script
Date Wed, 07 Jul 2004 16:11:36 GMT
Hi,

If your class is "home-made", I think you have to redefine the equals 
method.

--
Olivier Billard

kranga wrote:
> When I say something like:
> 
> var obj = new Packages.com.me.MyClass("test");
> cocoon.session.setAttribute("user", obj);
> 
> my sitemap.xmap's sessionstate matcher doesn't match on the session.
> However, if I store a javascript native value (say the integer 123), the
> statematcher matches on the session. What am I doing wrong with java
> objects? How do I store a java object in the session?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message