Frames best practice

Hi,

I have a screen which is divided into 3 major areas .[ like in a window which has 3 frames]

Top part contains company logo

Left part contains a set of links for selection

middle part contains the data that will appear when the left frame is selected.

what is the best practice to implement this in vaadin


Regards,
Sayin

This depends if the “divider” between the left+middle part should be resizable or not.
If nothing is resizable, then you can either use a VerticalLayout and then inside this a HorizontalLayout.
If they are resizable, then consider using a SplitPanel instead of the HorizontalLayout.

http://demo.vaadin.com/sampler#ApplicationLayout

Of course you can also use a GridLayout, but that’s more complex and usually you don’t need this.

André

Some examples:

I suppose the [http://vaadin.com/tutorial]
Address Book tutorial
[/url] application is exactly what you need. Just follow along the tutorial to see how it’s done.