| |||||||
FRAMES NO FRAMES |
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 automatic matching:
|
PROPORTIONAL | any combination with at least one PROPORTIONAL | okay | - |
UIComponentClass: org.apache.myfaces.tobago.component.UIGridLayout
RendererType: GridLayout
Tag Information | |
Tag Class | org.apache.myfaces.tobago.internal.taglib.GridLayoutTag |
TagExtraInfo Class | None |
Body Content | empty |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
id | false | true | java.lang.String | The component identifier for this component. This value must be unique within the closest parent component that is a naming container. Type: java.lang.String |
border | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Border size of this component. Type: java.lang.String |
cellspacing | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Object )
| **** @deprecated. Will be removed in a future version **** Spacing between component and layout cell's. Can be overwritten by columnSpacing and rowSpacing.Type: org.apache.myfaces.tobago.layout.Measure |
columnSpacing | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Object )
| Spacing between the columns in the actual layout. Type: org.apache.myfaces.tobago.layout.Measure |
rowSpacing | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Object )
| Spacing between the rows in the actual layout. Type: org.apache.myfaces.tobago.layout.Measure |
margin | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Object )
| Margin between container component and the children. Type: org.apache.myfaces.tobago.layout.Measure |
marginBottom | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Object )
| Bottom margin between container component and the children. Type: org.apache.myfaces.tobago.layout.Measure |
marginLeft | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Object )
| Left margin between container component and the children. Type: org.apache.myfaces.tobago.layout.Measure |
marginRight | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Object )
| Right margin between container component and the children. Type: org.apache.myfaces.tobago.layout.Measure |
marginTop | false | false | javax.el.ValueExpression
(must evaluate to java.lang.Object )
| Top margin between container component and the children. Type: org.apache.myfaces.tobago.layout.Measure |
columns | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| This value defines the layout constraints for column layout. It is a semicolon separated list of layout tokens '[<n>]*', '<n>px' or 'auto'. Where <n> is a non negative integer and the square brackets means optional. Example: '2*;*;100px;auto'. Type: java.lang.String Default: 1* |
rows | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| This value defines the layout constraints for column layout. It is a semicolon separated list of layout tokens '[<n>]*', '<n>px' or 'auto'. Where <n> is a non negative integer and the square brackets means optional. Example: '2*;*;100px;auto'. Type: java.lang.String Default: 1* |
binding | false | false | javax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent )
| The value binding expression linking this component to a property in a backing bean. Warning: For the tobago extension library tx the binding differs from JSP and Facelets:
Type: javax.faces.component.UIComponent |
markup | false | false | javax.el.ValueExpression
(must evaluate to org.apache.myfaces.tobago.context.Markup )
| Indicate markup of this component. The allowed markups can be defined or overridden in the theme. The value 'none' should not be used any longer. Just leave the attribute empty, or use a NULL pointer. Type: org.apache.myfaces.tobago.context.Markup |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |