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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to