• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Icefaces - PanelGrid align

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No one knows?
does Nobody work with Icefaces here?
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This can be done by applying
style="height: 100%;"
to the components inside the panelGrid
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can use it.


 
He's my best friend. Not yours. Mine. You can have this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic