The implicit object Session is a server class, and as such, I think it is
not available in your beginXXX method.
I have never done it, but perhaps you can serialize your bean, put it in the
webRequest as an input stream and associate it afterwards to your session.
I hope it helps.

-----Mensaje original-----
De: Dominik Dary [mailto:[EMAIL PROTECTED]
Enviado el: domingo, 26 de junio de 2005 12:46
Para: cactus-user@jakarta.apache.org
Asunto: Testing JSF backing Beans


Hello List,

i want to test a jsf backing bean. it is necessary to put an object to
the session, so if  i test the backing bean, the backing bean can get
this object.

how do i add an objekt to the session in the beginXXX() method?

Thanks,

DOME




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to