| |||||||
FRAMES NO FRAMES |
Use the webuijsf:commonTasksGroup
tag to create a
group of related tasks within a common tasks section. The common
tasks * group displays the contained tasks together in the common tasks
section, under an appropriate title that you specify.
The common tasks section is created with the following tags:
webuijsf:commonTasksSection
tag is used to define the structure of the common task area,
and is a container for webuijsf:commonTasksGroup
tags.
webuijsf:commonTasksGroup
tag is used to define
the groups of tasks,
and is a container for webuijsf:commonTask
tags.
webuijsf:commonTask
tag is used to define each task.
The webuijsf:commonTasksGroup
is not required
as a container for webuijsf:commonTask
tags. Tasks can be
grouped or ungrouped within the common tasks section.
See the documentation for the webuijsf:commonTasksSection
and webuijsf:commonTask
tags for more information about those tags.
The commonTasksGroup component renders XHTML <div>
and
<span>
elements. The
following diagram shows the relative location of the component's areas
for which you can define content, and the attributes or facets that can
be used for each area. The diagram shows the default two-column layout. A
single column or multiple column layout would contain similar content areas.
The areas that are specified with the webuijsf:commonTasksGroup
tag are highlighted in blue. The grayed out areas
are controlled with
webuijsf:commonTasksSection
and webuijsf:commonTask
tags, but are shown here for context.
Common Tasks Section Title (title attribute) |
||||||||||||||||
Help text (helpText
attribute or help facet) |
||||||||||||||||
Common Task
Group 1 Title (title attribute) |
Common Task
Group 2 Title (title attribute) |
|||||||||||||||
|
|
webuijsf:commonTasksGroup
tagYou can specify a title for the task group by using the title
attribute.
webuijsf:commonTasksGroup
component<webuijsf:commonTasksSection id="tasks1" title =
"#{tasks.tskTtl}">
<webuijsf:commonTaskGroup id="Taskgroup1"
title="#{tasks.grpTtl}">
<webuijsf:commonTask id="task1"
text="#{tasks.tskTxt1}" action="task1" />
<webuijsf:commonTask id="task2"
text="#{tasks.tskTxt2}" action="task2" />
</webuijsf:commonTaskGroup>
</webuijsf:commonTasksSection>
Tag Information | |
Tag Class | com.sun.webui.jsf.component.CommonTasksGroupTag |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
binding | false | false | java.lang.String | A ValueExpression that resolves to the UIComponent that corresponds to this tag. This binding allows the Java bean that contains the UIComponent to manipulate the UIComponent, its properties, and its children. |
styleClass | false | false | java.lang.String | CSS style class or classes that are applied to the outermost HTML element when the commonTaskGroup component is rendered. |
title | false | false | java.lang.String | The title text to be displayed for the common tasks group. |
visible | false | false | java.lang.String | Indicates whether the component should be viewable by the user in the rendered HTML page. If set to false, the HTML code for the component is present in the page, but the component is hidden with style attributes. By default, visible is set to true, so HTML for the component HTML is included and visible to the user. If the component is not visible, it can still be processed on subsequent form submissions because the HTML is present. |
style | false | false | java.lang.String | CSS style or styles that are applied to the outermost HTML element when this component is rendered. |
rendered | false | false | java.lang.String | Use the rendered attribute to indicate whether the HTML code for the component should be included in the rendered HTML page. If set to false, the rendered HTML page does not include the HTML for the component. If the component is not rendered, it is also not processed on any subsequent form submission. |
id | false | true | java.lang.String | No Description |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |