jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pedro Nevado" <pnev...@javato.com>
Subject RE: Testing JSF backing Beans
Date Sun, 26 Jun 2005 12:26:47 GMT
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:dominik.dary@gmail.com]
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?



View raw message