Forums Register Login

working with panelGrid

+Pie Number of slices to send: Send
Hi,

My main page contain one grid panel with 2 columns
The first group panel represent the menu bar and the second will contain the other jsf pages.

1) How can I align both panels on the same height
2) How can I show the first panel on the first 20% of the screen and the second on the rest 80% ?

Thanks



1
+Pie Number of slices to send: Send
Use CSS. JSF doesn't re-invent display formatting services when it can use existing functionality and stuff like this is what css is all about.

You can do this sort of basic tiling using the core JSF panelGrid by specifying "columnClasses" attribute and defining 2 CSS classes, one for the menu pane and one for the content pane. Adjust their widths (and other visual attributes) as desired.
+Pie Number of slices to send: Send
Thank you
Slideshow boring ... losing consciousness ... just gonna take a quick nap on this tiny ad ...
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 2378 times.
Similar Threads
JSF Template
problems with <f:subview>
JSF Error : cannot get value for expression
Hoto include JSP page in JSF
working with t:commandNavigation2
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 06:12:15.