Ok, I can use panels in this example but this is not a case here (maybe I shouldn't use leftPanel and rightPanel names, which can suggest that I should use Panels in this example ;)).
I am talking about markup inheritance (http://wicket.sourceforge.net/ExampleMarkupInheritance.html): "This is done using two special Wicket tags: <wicket:child> and <wicket:extend>. In the super markup you define where the child markup should be put, and in the sub markup you delineate where the child markup starts and ends." But in all examples and in documentation there is possibilty to define only one <wicket:child> tag per page. The use of murkup inheritance will be much more flexible, when I can define more than one "child" section. It is something similar to concept of templates (eg. templates in Dreamweaver where you can define editable regions): you make a base template where you define several editable regions (child sections) and then you can fill these regions with some content (by <wicket:exted>) in pages derived from this template. Why I don't want to use panels? Because I am talking about situation when usage of <wicket:child> and <wicket:extend> tags is more natural than usage of panels. I hope now it is a little more clear :). Daniel Marc-Andre Houle wrote: > Maybe what you are searching would be panel? Is there something you > that make that make panels not work for you? > > Maybe I just don't understand the question, but from what I seen, > Panel is the way you should go... :) > > Marc ---------------------------------------------------------------------- Dzwon za granice z komorki - 1,28 zl/min. >>> http://link.interia.pl/f1a4c ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
