wood burning stoves*
The moose likes JSF and the fly likes Icefaces - PanelGrid align Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Icefaces - PanelGrid align" Watch "Icefaces - PanelGrid align" New topic
Author

Icefaces - PanelGrid align

Gilberto B. Terra Jr.
Greenhorn

Joined: Sep 03, 2009
Posts: 5
Hey Friends.!
I am using IceFaces 1.8, untill now, everything is ok.! But...
I have a doubt.!

I Have a panelGrid with 2 columms, for each colum I have one panelGrid with components inside.!

See :


see, the first panelGrid keeps the components in the vertical align!
In the center.. I need to align to "TOP"....

this way:



But I need.....



I try set the style="vertical-align", and all properties and I didnt find the solution...

is there a way.?
Gilberto B. Terra Jr.
Greenhorn

Joined: Sep 03, 2009
Posts: 5
I tried all the "align" from styles...

I think that is a trick to do it!

1 - No style, has Icefaces another type of the alignment ?

2 - Have another Icefaces's component to replace PanelGrid in this situation ?
Gilberto B. Terra Jr.
Greenhorn

Joined: Sep 03, 2009
Posts: 5
No one knows?
does Nobody work with Icefaces here?
Andras Bognar
Greenhorn

Joined: Oct 10, 2009
Posts: 1
see panelGrid columnClasses property

tld doc said:

Comma-delimited list of CSS style classes that will be applied to
the columns of this table. A space separated list of classes may
also be specified for any individual column. If the number of
elements in this list is less than the number of columns specified
in the "columns" attribute, no "class" attribute is output for each
column greater than the number of elements in the list. If the
number of elements in the list is greater than the number of
columns specified in the "columns" attribute, the elements at the
posisiton in the list after the value of the "columns" attribute are
ignored.
The default column classes would be rendered as : icePnlGrdCol1,
icePnlGrdCol2 alternatively
Rainer Eschen
author
Ranch Hand

Joined: Jan 24, 2009
Posts: 75
The best way to solve such problems is to have a look at the rendered result in Firebug and play with the ICEfaces CSS classes. You have to know what exactly is rendered to get an idea what to do with the CSS.


ICEfaces book . ICEcube . ICEfusion . Scrum
Pramod Shivale
Greenhorn

Joined: Mar 26, 2008
Posts: 14
This can be done by applying
style="height: 100%;"
to the components inside the panelGrid
Anibal Duardo
Greenhorn

Joined: Sep 11, 2008
Posts: 1
I'm looking for a solution to this, but I not found.
I resolved replacing ice:panelGrid with a standard html table


replace with:

ali esmaily
Greenhorn

Joined: Apr 13, 2011
Posts: 2
You can use it.


 
wood burning stoves
 
subject: Icefaces - PanelGrid align
 
Similar Threads
To Refresh the Dynamic data to the JSF Page automatically
Nested datatable/datapaginator
HOW TO REFRESH THE FULL PAGE USING JSF ICE FACES AND TO GET THE UPDATED RECORDS INTO PAGE
Automatic Population of Indexed Fields
Only Numeric value allowed