Could you or somebody else please provide some code? I didn't understand your last sentence " Start with one hard coded layout and then tune it using an internal state, for example."
Thank you, Azzeddine On Mon, Apr 28, 2008 at 10:16 AM, Martin Makundi < [EMAIL PROTECTED]> wrote: > I would guess that it is better to use panels or fragments and instead > of using setXXX, just initialize everyting in its place according to > an internal state. > > Start with one hard coded layout and then tune it using an internal > state, for example. > > ** > Martin > > 2008/4/28 Azzeddine Daddah <[EMAIL PROTECTED]>: > > Hi there, > > > > I'm new to Wicket trying to build my first application :). > > I've already token a look at "Creating layouts using markup > inheritance" > > tutorial from the Wicket website, but still have some questions: > > Suppose that I've a base page which I want that some of my pages > inherits > > the layout from it. What I want to do is to have some protected methods > like > > f.e. appendComponen(final Component comp, String position) and > > setTitle(String title). The position string In the first method > indicates > > the position where the component in the page should be appended. > > > > 1. How can I implement this? > > 2. Is it possible to define multiple <wicket:child /> in the base > > page? > > > > Gr. Azzeddine > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Azzeddine Daddah www.hbiloo.com
