cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Coboos <cromo...@gmx.net>
Subject Set attribute to session in flowscript?
Date Thu, 25 Dec 2003 11:02:57 GMT
Hello,
I want to set an object into the session scope in a flowscript. My code 
looks like the following:

var user = new Packages.foo.bar.User();
cocoon.session.setAttribute("user", user);

The problem is, that cocoon sets an 
org.mozilla.javascript.NativeJavaObject into the scope instead of my 
user object. Is there a way to set my user object into the session scope 
without writing another component?

Thank you!


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


Mime
View raw message