Re: Question on page inheritance...

2008-04-02 Thread Nino Saturnino Martinez Vazquez Wael
to it and see if I've got that all correct. Thanks again. > > > -Original Message- > From: Nino Saturnino Martinez Vazquez Wael > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 01, 2008 1:49 PM >

Re: Question on page inheritance...

2008-04-02 Thread Maurice Marrink
> > > > > > > > > > > > > > > > > > > > getSecuritySettings().setAuthorizationStrategy( > > > > > > > new ZeuzSecurity(ZeuzAuthorizedPage.class, > > > > > > > LoginPage.class) { > > > > > > > @Override > > > > > > &

Re: Question on page inheritance...

2008-04-02 Thread Nino Saturnino Martinez Vazquez Wael
; > -Original Message- > From: Nino Saturnino Martinez Vazquez Wael > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 01, 2008 1:49 PM > To: users@wicket.apache.org > Subject: Re: Question on page inheritance... > > True, as Igor wrote this is meant to be in conju

Re: Question on page inheritance...

2008-04-02 Thread Maurice Marrink
t; > > > ... > > > > > > > > > > > > > > > > > > > > Bruce Petro wrote: > > > > > > Thanks to the replies I received... yeah I didn't say it well, > but I > > > > >

Re: Question on page inheritance...

2008-04-02 Thread Nino Saturnino Martinez Vazquez Wael
t and see if I've got that all correct. Thanks again. > > > -Original Message- > From: Nino Saturnino Martinez Vazquez Wael > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 01, 2008 1:49 PM > To: users@wicket.apache.org > Subject: Re: Questio

Re: Question on page inheritance...

2008-04-01 Thread Maurice Marrink
heritance and have every page utilize ISecurityStrategy to then > > > > control access to the page. > > > > > > > > I'll check into it and see if I've got that all correct. Thanks > again. > > > > > > > > > > &g

Re: Question on page inheritance...

2008-04-01 Thread Nino Saturnino Martinez Vazquez Wael
rom: Nino Saturnino Martinez Vazquez Wael > [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 01, 2008 1:49 PM > To: users@wicket.apache.org > Subject: Re: Question on page inheritance... > > True, as Igor wrote this is meant to be in conjuction with at > ISecurityStrategy. >

Re: Question on page inheritance...

2008-04-01 Thread Maurice Marrink
that all correct. Thanks again. > > > > > > -Original Message- > > From: Nino Saturnino Martinez Vazquez Wael > > [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, April 01, 2008 1:49 PM > > To: users@wicket.apache.org > > Subject: Re: Question o

Re: Question on page inheritance...

2008-04-01 Thread Nino Saturnino Martinez Vazquez Wael
aturnino Martinez Vazquez Wael [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2008 1:49 PM To: users@wicket.apache.org Subject: Re: Question on page inheritance... True, as Igor wrote this is meant to be in conjuction with at ISecurityStrategy. Nino Saturnino Martinez Vazquez Wael wrote: Y

RE: Question on page inheritance...

2008-04-01 Thread Bruce Petro
ess to the page. I'll check into it and see if I've got that all correct. Thanks again. -Original Message- From: Nino Saturnino Martinez Vazquez Wael [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2008 1:49 PM To: users@wicket.apache.org Subject: Re: Question on page inheritanc

Re: Question on page inheritance...

2008-04-01 Thread Nino Saturnino Martinez Vazquez Wael
True, as Igor wrote this is meant to be in conjuction with at ISecurityStrategy. Nino Saturnino Martinez Vazquez Wael wrote: You could actually also do this another way... Im using markup inheritance alot, but I stuff user object into the session like this: See a nice view here: http://papern

Re: Question on page inheritance...

2008-04-01 Thread Per Newgro
Can you check the mailing-list by search the following topic "Where to apply a general security policy" - there much strategies are explained (or links can be found). Cheers Per - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: Question on page inheritance...

2008-04-01 Thread Igor Vaynberg
such a check belongs in ISecurityStrategy and not really in your page hierarchy. see wicket-auth-roles for examples. -igor On Tue, Apr 1, 2008 at 10:28 AM, Bruce Petro <[EMAIL PROTECTED]> wrote: > I'm just getting started in wicket, so forgive me if this is a too-dumb > question... > > > > I k

Re: Question on page inheritance...

2008-04-01 Thread Nino Saturnino Martinez Vazquez Wael
You could actually also do this another way... Im using markup inheritance alot, but I stuff user object into the session like this: See a nice view here: http://papernapkin.org/pastebin/view/281/ package zeuzgroup.application; import javax.servlet.http.HttpSession; import org.apache.wicket.A

Re: Question on page inheritance...

2008-04-01 Thread Maurice Marrink
Creating a BasePage and have every other page extend from it it the preferred way. Your BasePage can but is not required to provide a base markup. See http://wicket.apache.org/examplemarkupinheritance.html Maurice On Tue, Apr 1, 2008 at 7:28 PM, Bruce Petro <[EMAIL PROTECTED]> wrote: > I'm just g

Question on page inheritance...

2008-04-01 Thread Bruce Petro
I'm just getting started in wicket, so forgive me if this is a too-dumb question... I know wicket can check the session for a user to ask a "user" object if it is logged in. However, you don't really want to paste code on every page. What is the best way, to have each page inherit the base "s