and completely dynamic layout can also be done with the use of panels.
So your basepage only has the portions filled in where the panels are
placed.

But the my question is shouldn't you just make different pages?

johan


On 12/28/06, Carfield Yim <[EMAIL PROTECTED]> wrote:

I feel using Markup interitance over Border is more similar to using
interitance over composition of code reuse. Markup interitance is more
convenience to use but if you like to do something more dynamice, like
change layout according to role, I think Border is more flexible for
that? Please correct me if I am wrong

On 12/28/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> I agree with Igor. See
> http://wicketframework.org/ExampleMarkupInheritance.html for a small
> example of markup inheritance.
>
> Martijn
>
> On 12/27/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > imho much better to use markup inheritance for a common layout. that
example
> > was written before markup inheritance was around.
> >
> > -igor
> >
> >
> >
> > On 12/27/06, Daniele Dellafiore <[EMAIL PROTECTED]> wrote:
> > >
> > > hi, I am new to wicket, I have just done some examples tutorial
starting
> > from the QuickStart app.
> > >
> > > I am beginning to build a real webapp and I am wondering about the
"main"
> > layout structure
> > >
> > > I have done the Navomatic example and I am wondering if a good way
is to
> > use borders to define the structure of the page (I need a simple
header,
> > footer, navigation, body layout).
> > >
> > > In the navomatic example I have a add(NavomaticBorder()) in each
page and
> > if I want a page body with some wicket component I have to add them to
> > navomaticInstance and not to the page (I have tried adding the ajax
counter
> > for example... it does not comes for free, counter is showed but click
does
> > not increment, ajax error...)
> > >
> > > Back to main problem, this create some architecture issues
(replication
> > and non-standard add method). I could create a template page that
> > incapsulate the "navomatic layout" and with a custom add method that
uses
> > that... but is this a good way to do things?
> > >
> > > Thanks for advices.
> > >
> > >
> >
-------------------------------------------------------------------------
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to
share
> > your
> > > opinions on IT & business topics through brief surveys - and earn
cash
> > >
> >
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > >
> > > _______________________________________________
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> > >
> >
> >
> >
-------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
share your
> > opinions on IT & business topics through brief surveys - and earn cash
> >
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
> >
>
>
> --
> Vote for Wicket at the
http://www.thebeststuffintheworld.com/vote_for/wicket
> Wicket 1.2.4 is as easy as 1-2-4. Download Wicket now!
> http://wicketframework.org
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
your
> opinions on IT & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to