Re: Page inheritance

2019-05-14 Thread Shengche Hsiao
Thanks! On Wed, May 15, 2019 at 10:54 Maxim Solodovnik wrote: > Sure :) > > I would add some overridable method like `protected boolean > shouldAddJsCss`, returning `true` in base class > and controlling which header items will be rendered > > Or you can create separate method to render those js

Re: Page inheritance

2019-05-14 Thread Maxim Solodovnik
Sure :) I would add some overridable method like `protected boolean shouldAddJsCss`, returning `true` in base class and controlling which header items will be rendered Or you can create separate method to render those js/css resources and override it with empty method ... On Wed, 15 May 2019 at

Page inheritance

2019-05-14 Thread ShengChe Hsiao
Dear Wicketers I have a basepage with headerpanel and footerpanel, every webpage were extends it. Now, I have a question, may I have a page extends basepage, and without output extended js and css files?

Questions about Different Context Paths based on page inheritance

2011-05-03 Thread Eric Gulatee
All, We have developed an application which spans both authenticated and unauthenticated users. We have secured the authenticated part of the application using wicket auth roles. This would be good enough, however, we need to get SSO working between two different application servers & their respe

Re: Page inheritance problem

2009-10-06 Thread jWeekend
ow.de > xing | http://www.xing.com/profile/Jens_Zastrow > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: ht

Re: Page inheritance problem

2009-10-06 Thread Jens Zastrow
The "SuperDiv" component is just a WebMarkupContainer I just tried to find the getTransparentResolver() method, but without success... Igor Vaynberg schrieb: -- dipl. inform jens zastrow phone | +49.152.04840108 mail | m...@jens-zastrow.de web | http://jens-zastrow.de xing | http://www.xin

Re: Page inheritance problem

2009-10-06 Thread Igor Vaynberg
& Java Technologies, Wicket Training and Development >>>http://jWeekend.com >> >> >> >> jWeekend schrieb: >> >> -- >> dipl. inform jens zastrow >> >> phone | +49.152.04840108 >> mail  | m...@jens-zastrow.de >> web   | h

Re: Page inheritance problem

2009-10-06 Thread Igor Vaynberg
whatever component is the "superDiv" has to have gettransparentresolver() overridden to return true -igor On Tue, Oct 6, 2009 at 2:20 PM, Jens Zastrow wrote: > Hi experts, > > I have a Page class with serves as base html-template for the derived pages. > (e.g. http://www.javalobby.org/java/forum

Re: Page inheritance problem

2009-10-06 Thread jWeekend
; dipl. inform jens zastrow > > phone | +49.152.04840108 > mail | m...@jens-zastrow.de > web | http://jens-zastrow.de > xing | http://www.xing.com/profile/Jens_Zastrow > > > ----- > To unsubscribe, e-mail: users-unsubs

Re: Page inheritance problem

2009-10-06 Thread Jens Zastrow
Hmmm... this effectivly not uses the thing for the "inner"-subclass-components. If i do so, from the Java-side its really bad to invoke "subclass-methods from super-contructors". Can the invocation of the getThatPanelIWantAlwaysButAtCertainLocation() method be deferred somehow?? Regards Jens

Re: Page inheritance problem

2009-10-06 Thread jWeekend
ontainer for the subpages can be set somehow. > > Thanks > Jens > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > &g

Page inheritance problem

2009-10-06 Thread Jens Zastrow
Hi experts, I have a Page class with serves as base html-template for the derived pages. (e.g. http://www.javalobby.org/java/forums/t69357.html) For some special needs, subclass-markup should be placed in some element managed by wicket and not at the root. base.html My workaround curre

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