<?xml version="1.0" encoding="ISO-8859-1"?>

<taglib>
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.2</jsp-version>
    <short-name>toolbar</short-name>

    <info>
    </info>
    <tag>
        <name>toolbar</name>
        <tag-class>com.softaspects.galileo.client.jsp.html.toolbar.ToolbarTag</tag-class>
        <body-content>JSP</body-content>
        <info>

            <![CDATA[

            Component top level properties

            @Attributes          : iconMode
            @AttributeDescription: Display mode of the items
            Valid values :  SMALL,LARGE
            Default value : LARGE

            @Attributes          : headerAlign
            @AttributeDescription: Header alignment.
            Valid values :  LEFT,CENTER
            Default value : LEFT

            @Attributes          : iconWidth
            @AttributeDescription: Width in pixels for default Icons.

            @Attributes          : iconHeight
            @AttributeDescription: Height in pixels for default Icons.

            @Attributes          : smallIconWidth
            @AttributeDescription: Width in pixels for small Icons.

            @Attributes          : smallIconHeight
            @AttributeDescription: Height in pixels for small Icons.

            @Attributes          : verticalSize
            @AttributeDescription: Whole toolbar vertical height in percents.
            Valid values :  any numeric value without the "%" sign

            @Attributes          : userOnHeaderSelect
            @AttributeDescription: User defined callback function called when any page is selected
            in the form of "anyFunctionName(aHeaderIndex)". If the function returns "false" the
            given page won't be opened.

            @Attributes          : userOnItemSelect
            @AttributeDescription: User defined callback function called when any item is selected
            in the form of "anyFunctionName(aHeaderIndex,anItemIndex)"

            @Attributes          : hintText
            @AttributeDescription: Toolbar's tooltip text

            @Attributes          : bgColor
            @AttributeDescription: Any valid HTML color of toolbar's page

            @Attributes          : pageHeaderBgColor
            @AttributeDescription: Any valid HTML color of toolbar's page header

            @Attributes          : fontFamily
            @AttributeDescription: Any valid HTML font family

            @Attributes          : fontWeight
            @AttributeDescription: Any valid HTML font weight

            @Attributes          : fontStyle
            @AttributeDescription: Any valid HTML font style

            @Attributes          : fontColor
            @AttributeDescription: Any valid HTML font color of a header

            @Attributes          : selectedFontColor
            @AttributeDescription: Any valid HTML color

            @Attributes          : fontSize
            @AttributeDescription: Any valid HTML font size

            @Attributes          : itemFontColor
            @AttributeDescription: Any valid HTML font color of an item

            @Attributes          : frameMode
            @AttributeDescription: Defines whether toolbar should be rendered to
            a HTML frame.
            Valid values : TRUE,FALSE
            Default value : FALSE

            @Attributes end

            ]]>

        </info>
        <attribute>
            <name>id</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>name</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>styleClass</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>style</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>hintText</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onHelp</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onClick</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onDblClick</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onFilterChange</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onMouseUp</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onMouseDown</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onMouseOut</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onMouseOver</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onKeyDown</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onKeyPress</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onKeyUp</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onSelectStart</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onBlur</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onFocus</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onAfterUpdate</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onBeforeUpdate</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onResize</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onRowEnter</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>onRowExit</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>iconMode</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>headerAlign</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>iconWidth</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>iconHeight</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>

        <attribute>
            <name>smallIconWidth</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>smallIconHeight</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>verticalSize</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>userOnHeaderSelect</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>userOnItemSelect</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>bgColor</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>pageHeaderBgColor</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>fontFamily</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>fontWeight</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>fontStyle</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>fontColor</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>selectedFontColor</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>fontSize</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>itemFontColor</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>frameMode</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>

    </tag>
    <tag>
        <name>dataModel</name>
        <tag-class>com.softaspects.galileo.client.jsp.html.toolbar.ToolbarDataModelTag</tag-class>
        <body-content>JSP</body-content>
        <info>

        <![CDATA[
        Holder of component's data model. Model can be instantiated and saved
            in context separately from the component definition and can be used by different
            components simultaneously.


            @Attributes:

            @AttributeName beanName
            @AttributeInfo Name with which the model is stored in context.

            @AttributeName scope
            @AttributeInfo Context in which the model is stored.

            Values(in any letter case): REQUEST - request context,
            SESSION - session context.
            APPLICATION - application context.


            @Attributes end.
            ]]>

        </info>
        <attribute>
            <name>beanName</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>scope</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
    </tag>
    <tag>
        <name>selectionModel</name>
        <tag-class>com.softaspects.galileo.client.jsp.html.toolbar.ToolbarSelectionModelTag</tag-class>
        <body-content>JSP</body-content>
        <info>

        <![CDATA[
        Holder of component's selection model. Model can be instantiated and saved
            in context separately from the component definition and can be used by different
            components simultaneously.


            @Attributes:

            @AttributeName beanName
            @AttributeInfo Name with which the model is stored in context.

            @AttributeName scope
            @AttributeInfo Context in which the model is stored.

            Values(in any letter case): REQUEST - request context,
            SESSION - session context.
            APPLICATION - application context.

            @Attributes          : selection
            @AttributeDescription: Toolbar's initial selection.
            For example: "pageId"

            @Attributes end.
            ]]>

        </info>
        <attribute>
            <name>beanName</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>scope</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>selection</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
    </tag>
    <tag>
        <name>page</name>
        <tag-class>com.softaspects.galileo.client.jsp.html.toolbar.ToolbarPageTag</tag-class>
        <body-content>JSP</body-content>
        <info>
        <![CDATA[

        Toolbar's page properties

            @Attributes:

            @AttributeName:        pageId
            @AttributeDescription: Page Id in Toolbar component.Must
            be unique.



            @Attributes end
            ]]>

        </info>
        <attribute>
            <name>pageId</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
    </tag>

    <tag>
        <name>pageHeader</name>
        <tag-class>com.softaspects.galileo.client.jsp.html.toolbar.ToolbarPageHeaderTag</tag-class>
        <body-content>JSP</body-content>
        <info>

        <![CDATA[
        Header's properties

            @Attributes:

            @AttributeName:        text
            @AttributeDescription: Header's text.

            @AttributeName:        hintText
            @AttributeDescription: Header's tooltip text.

            @AttributeName:        defaultImage
            @AttributeDescription: Header's default Image.

            @AttributeName:        hiliteImage
            @AttributeDescription: Header's rollover Image.


            @Attributes end
            ]]>
        </info>
        <attribute>
            <name>text</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>hintText</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>defaultImage</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>hiliteImage</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
    </tag>
    <tag>
        <name>pageItem</name>
        <tag-class>com.softaspects.galileo.client.jsp.html.toolbar.ToolbarPageItemTag</tag-class>
        <body-content>JSP</body-content>
        <info>

        <![CDATA[
        Item properties .

            @Attributes:

            @AttributeName:        text
            @AttributeDescription: item's text.

            @AttributeName:        hintText
            @AttributeDescription: item's tooltip text.

            @AttributeName:        defaultImage
            @AttributeDescription: item's default Image.

            @AttributeName:        defaultSmallImage
            @AttributeDescription: item's default small Image.

            @AttributeName:        hiliteImage
            @AttributeDescription: item's default rollover Image.

            @AttributeName:        hiliteSmallImage
            @AttributeDescription: item's small rollover Image.

            @Attributes end
            ]]>
        </info>
        <attribute>
            <name>text</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>hintText</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>defaultImage</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>defaultSmallImage</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>hiliteImage</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
        <attribute>
            <name>hiliteSmallImage</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
        </attribute>
    </tag>
</taglib>
