layout:groupTabPanel用于容纳多个页签,从而形成一个页签组。其一般用作layout:groupTabLayout的子标签,表示一个分组。
表 31.23.
| Component Type | org.operamasks.faces.component.layout.impl.UIGroupTabPanel |
| Component Family | org.operamasks.faces.component.layout.impl.UIPanel |
| Component Class | org.operamasks.faces.component.layout.impl.UIGroupTabPanel |
| Tag Class | org.operamasks.faces.webapp.layout.UIGroupTabPanelTag |
| Renderer Type | org.operamasks.faces.component.layout.impl.UIGroupTabPanel |
| Renderer Class(AJAX) | org.operamasks.faces.render.layout.ajax.AjaxGroupTabPanelRenderer |
+java.lang.Object
++javax.faces.component.UIComponent
+++javax.faces.component.UIComponentBase
++++org.operamasks.faces.component.layout.base.UIPanelBase
+++++org.operamasks.faces.component.layout.impl.UIPanel
++++++org.operamasks.faces.component.layout.base.UIGroupTabPanelBase
+++++++org.operamasks.faces.component.layout.impl.UIGroupTabPanel
表 31.24. 属性
| binding | 定义类 | javax.faces.component.UIComponentBase | ||
| 类型 | javax.el.ValueExpression(javax.faces.component.UIComponent) | |||
| 是否必须 | 否 | 延时求值 | 是 | |
| 一个值表达式,用于把该组件链接到一个ManagedBean的某个属性。 | ||||
| deferredRender | 定义类 | org.operamasks.faces.component.layout.impl.UIGroupTabPanel | ||
| 类型 | javax.el.ValueExpression(java.lang.Boolean) | |||
| 是否必须 | 否 | 延时求值 | 是 | |
| 是否延迟加载。默认为false。由于目前该组件不完善,建议设置deferredRender为false | ||||
| id | 定义类 | javax.faces.component.UIComponentBase | ||
| 类型 | java.lang.String | |||
| 是否必须 | 否 | 延时求值 | 否 | |
| 这个组件的组件标识符。这个值在最近的命名容器类型的父组件范围内,必须是唯一的。 | ||||
| mainItem | 定义类 | org.operamasks.faces.component.layout.impl.UIGroupTabPanel | ||
| 类型 | javax.el.ValueExpression(java.lang.Integer) | |||
| 是否必须 | 否 | 延时求值 | 是 | |
| 当前tab组里面,主要的tab项目。该项目可以收起其他项目 | ||||
| rendered | 定义类 | javax.faces.component.UIComponentBase | ||
| 类型 | boolean(boolean) | |||
| 是否必须 | 否 | 延时求值 | 是 | |
| 一个标志,指出该组件是否要在任何随后的form提交过程中被渲染或处理。 这个属性的缺省值是true。 | ||||
该组件不单独出现,一般用作layout:groupTabLayout的子组件,请参考layout:groupTabLayout