Horizontal placement of components in JSF.

Posted by Ben on Stack Overflow See other posts from Stack Overflow or by Ben
Published on 2010-03-31T13:21:18Z Indexed on 2010/03/31 13:23 UTC
Read the original article Hit count: 273

Filed under:

Hi,

Should be simple but I couldn't find the answer, I would like to place components horizontally instead of vertically.

What I'm trying to achieve is a rich:toolbar with 2 or more rows. I've been trying to do that with a toolbar that has a panelgrid and two panelgroups like this:

<rich:toolbar...>
  <f:panelgrid columns="1"...>
    <f:panelgroup id="row1" .../>  <-- Should be horizontal placement
    <f:panelgroup id="row2" .../>  <-- Should be horizontal placement
  <f:panelgrid/>
<rich:toolbar/>

So how do I make the panelgroup layout horizontal (Or should I use something else?)

Thanks!

© Stack Overflow or respective owner

Related posts about jsf