A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
put buttons in a tidy way
Joined: Feb 16, 2011
Aug 06, 2011 10:21:15
Hi I am trying to put severals buttons in a form for the moment I am using a panelGrid, this way:
<center> <h:panelGrid id="results1" columns="1" border="2" width="500"> <p:button value="Create app"></p:button> </h:panelGrid> </center>
but I cant set a heigth for the panel. ¿Anyone knows a way to do it?
Joined: Jun 25, 2001
Aug 08, 2011 06:25:05
Yep. Put a 'style="height: 14px"' or something similar on the panelGrid. Or use the styleClass attribute.
Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: put buttons in a tidy way
h:dataTable and rich:toolTip
blue borders are showing on image link in jsf
Can't reRender richfaces datatable from modal panel
JSF: Centering A Table (panelGrid)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014