On Wednesday 07 February 2007 17:31, Edward Yakop wrote:
> On 2/7/07, Peter Neubauer <[EMAIL PROTECTED]> wrote:

> > Then, would it be a good addition to be able to register your own
> > MySpecialEnhancedWebSession in PaxWicket, since that is the way Wicket
> > folks recommends to store custom data in the session?
>
> Perhaps we could let user to attach their data in the session. Since,
> we're in evolving stage, it seems a safer thing to do.

Well, you can do setSessionFactory() for the application object already, but 
if it is an AuthenticatedWebApplication, it seems that the Session is not 
created using the factory, but inside the AuthenticatedWebApplication class 
directly.

For non-authenticated applications, it seems that we use the default Session 
in Wicket, so should be no problem there.

IMHO, the behaviour in AuthenticatedWebApplication is perhaps a bit suspect, 
and should probably be discussed with the author(s). IMHO, 
AuthenticatedWebApplication should perhaps set the SessionFactory to 
something which makes sense for it, but allow one to override it if one 
wants.


Cheers
Niclas

_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to