Is it possible to layout the page vertically as well as horizontally using markup inheritance?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Is it possible to layout the page vertically as well as horizontally using markup inheritance?

sarahk
I am reading http://wicket.apache.org/learn/examples/markupinheritance.html and
I want to find a way to make the content section sliced into two parts. I am
wondering how I can do that. I want the left section to show a fixed html
page and the right section to show load a content page which is a wicket
page.
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to layout the page vertically as well as horizontally using markup inheritance?

Martin Grigorov-4
See Panel class.
I.e. use composition instead of inheritance.
This way one panel can contain the static html and another the
dynamically generated one.
You can place them wherever you want in any page.

On Tue, Jul 5, 2011 at 1:47 PM, Sarah kho <[hidden email]> wrote:
> I am reading http://wicket.apache.org/learn/examples/markupinheritance.html and
> I want to find a way to make the content section sliced into two parts. I am
> wondering how I can do that. I want the left section to show a fixed html
> page and the right section to show load a content page which is a wicket
> page.
>



--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]