webuijsf
Tag commonTasksGroup


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:

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.

HTML Elements and Layout

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)
Image
Common Task 1 Text
Info
button
Image
Common Task 2 Text
Info
button

Image
Common Task 1 Text
Info
button
Image
Common Task 2 Text
Info
button
Image
Common Task 3 Text
Info
button


Configuring the webuijsf:commonTasksGroup tag

You can specify a title for the task group by using the title attribute.

Facets

None.

Code Examples

Example1: Grouping tasks using a 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 Classcom.sun.webui.jsf.component.CommonTasksGroupTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
bindingfalsefalsejava.lang.String A ValueExpression that resolves to the UIComponent that corresponds to this tag. This attribute allows the Java bean that contains the UIComponent to manipulate the UIComponent, its properties, and its children.
styleClassfalsefalsejava.lang.String

CSS style class or classes that are applied to the outermost HTML element when the commonTaskGroup component is rendered.

titlefalsefalsejava.lang.String

The title text to be displayed for the common tasks group.

visiblefalsefalsejava.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.

stylefalsefalsejava.lang.String

CSS style or styles that are applied to the outermost HTML element when this component is rendered.

renderedfalsefalsejava.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.
idfalsetruejava.lang.StringNo Description

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.