File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Icefaces - PanelGrid align

 
Gilberto B. Terra Jr.
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No one knows?
does Nobody work with Icefaces here?
 
Andras Bognar
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 75
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Pramod Shivale
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This can be done by applying
style="height: 100%;"
to the components inside the panelGrid
 
Anibal Duardo
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use it.


 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic