Re: Strange thing in Application constructor

2008-03-12 Thread Maurice Marrink
e don't use WicketTester at all). > > > > What kind of patch do you have? > > > > -Roberto > > > > > > > > Mr Mean wrote: > > > > > > Are you talking about test behavior or real life app behavior? >

Re: Strange thing in Application constructor

2008-03-12 Thread Maurice Marrink
Maurice > > > > -- > View this message in context: > http://www.nabble.com/Strange-thing-in-Application-constructor-tp15786017p16001746.html > > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > ---

Re: Strange thing in Application constructor

2008-03-12 Thread Roberto Fasciolo
-- View this message in context: http://www.nabble.com/Strange-thing-in-Application-constructor-tp15786017p16001746.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: Strange thing in Application constructor

2008-03-11 Thread Johan Compagner
>> not. > > >> I've understood now that I have no way to control that, everytime a > user > > >> opens a page in a wicket app a new Session is created just for > checking > > >> if > > >> that user can instantiate components, regardless of we

Re: Strange thing in Application constructor

2008-03-11 Thread Maurice Marrink
d just for checking > >> if > >> that user can instantiate components, regardless of wether the page is > >> stateless or stateful and also if the user has never signed in the site. > >> Is > >> it like that? > >> > >>

Re: Strange thing in Application constructor

2008-03-11 Thread Roberto Fasciolo
ke that? >> >> -Roberto >> >> >> >> igor.vaynberg wrote: >> > >> > session represents a user's session, while application represents the >> > application that users access. >> > >> > -igor >> >

Re: Strange thing in Application constructor

2008-03-03 Thread Igor Vaynberg
o if the user has never signed in the site. Is > it like that? > > -Roberto > > > > igor.vaynberg wrote: > > > > session represents a user's session, while application represents the > > application that users access. > > > > -igor > > >

Re: Strange thing in Application constructor

2008-03-03 Thread Roberto Fasciolo
. > > -igor > -- View this message in context: http://www.nabble.com/Strange-thing-in-Application-constructor-tp15786017p15808987.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe,

Re: Strange thing in Application constructor

2008-03-02 Thread Igor Vaynberg
this session > >> */ > >> public IAuthorizationStrategy getAuthorizationStrategy() > >> { > >> return > >> getApplication().getSecuritySettings().getAuthorizationStrategy(); > >> } &g

Re: Strange thing in Application constructor

2008-03-02 Thread Roberto Fasciolo
zationStrategy(); >> } >> >> >> I wonder why it has been implemented in that way. Could this statement: >> >> if >> >> (!Session.get().getAuthorizationStrategy().isInstantiationAuthorized(component.getClass())) >> >> be rewritten as: >> &

Re: Strange thing in Application constructor

2008-03-02 Thread Maurice Marrink
; I wonder why it has been implemented in that way. Could this statement: > > > > if > > > (!Session.get().getAuthorizationStrategy().isInstantiationAuthorized(component.getClass())) > >

Re: Strange thing in Application constructor

2008-03-02 Thread Igor Vaynberg
orizationStrategy(); > } > > > I wonder why it has been implemented in that way. Could this statement: > > if > > (!Session.get().getAuthorizationStrategy().isInstantiationAuthorized(component.getClass())) > > be rewritten as: > > if > > (!getSecuritySettings().

Strange thing in Application constructor

2008-03-02 Thread Roberto Fasciolo
Authorized(component.getClass())) be rewritten as: if (!getSecuritySettings().getAuthorizationStrategy().isInstantiationAuthorized(component.getClass())) ?? -Roberto -- View this message in context: http://www.nabble.com/Strange-thing-in-Application-constructor-tp15786017p15786017.html Sen