read my previous reply more carefuly, instead of abstract Component getTemplateOne(String id);
you can simply do: Component getTemplateOne(String id) { return new EmptyPanel(id); } now you have a "non-required" override of any part of markup's template... -igor On Nov 7, 2007 10:51 AM, Chris Colman <[EMAIL PROTECTED]> wrote: > > a lot of people are saying that this can be implemented with panels, > > and that is true. but actually implementing this with fragments will > > make it look very similar to this new strategy and does not have the > > id collission problem, because components ARE nested in two different > > containers: > > I've never used fragments but I just read up on them... > > I may be wrong but it looks as if you have to define all possible > fragments that might appear in a page to that page. It doesn't seem to > follow the natural, organic flow of markup inheritance where a base page > can be enhanced by substituting base a page section with markup defined > in derived/extended pages - that only happens with the child/extends > feature from my understanding. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]