Tobago Components
Tag gridLayout


Renders a GridLayout.
 columns/rows ::= LAYOUT LAYOUT ::= TOKEN [";" TOKEN]+ TOKEN ::= FIXED | PIXEL | PROPORTIONAL FIXED ::= "fixed" PIXEL ::= NUMBER "px" PROPORTIONAL ::= [NUMBER] "*" 

Parent Child Okay? Remarks
FIXED any combination of FIXED or PIXEL but no PROPORTIONAL okay -
FIXED any combination with at least one PROPORTIONAL wrong LayoutManager cannot compute the fixed value.
PIXEL any combination of FIXED or PIXEL but no PROPORTIONAL potentially wrong The values depend on each other, the programmer has to keep consistency manually.
PIXEL any combination with at least one PROPORTIONAL okay -
PROPORTIONAL any combination of FIXED or PIXEL but no PROPORTIONAL potentially wrong No automatical matching:
  • too little space: scrollbar
  • too much space: elements will be spreaded.
PROPORTIONAL any combination with at least one PROPORTIONAL okay -

UIComponentClass: org.apache.myfaces.tobago.component.UIGridLayout

RendererType: GridLayout



Tag Information
Tag Classorg.apache.myfaces.tobago.taglib.component.GridLayoutTag
TagExtraInfo ClassNone
Body Contentempty
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsetruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
borderfalsetruejava.lang.StringBorder size of this component.
cellspacingfalsetruejava.lang.StringSpacing between component and layout cell's
marginfalsetruejava.lang.StringMargin between container component and layouted children.
marginBottomfalsetruejava.lang.StringBottom margin between container component and layouted children.
marginTopfalsetruejava.lang.StringTop margin between container component and layouted children.
marginRightfalsetruejava.lang.StringRight margin between container component and layouted children.
marginLeftfalsetruejava.lang.StringLeft margin between container component and layouted children.
columnsfalsetruejava.lang.StringLayoutConstraints for column layout. Semicolon separated list of layout tokens ('*', '<x>*', '<x>px' or '<x>%'). Where '*' is equvalent to '1*'.
rowsfalsetruejava.lang.StringLayoutConstraints for column layout. Semicolon separated list of layout tokens ('<x>*', '<x>px', '<x>%' or 'fixed').
bindingfalsetruejava.lang.StringThe value binding expression linking this component to a property in a backing bean.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.