Oracle Fusion Middleware Tag Reference for Oracle Team Productivity Center
11g Release 1 (11.1.1)
E14265-04
Go back

Summary

Tag name: <toolbar>

The toolbar tag is used to host toolbar buttons. All buttons are right aligned by default.

Code Example(s)

    <toolbar helpTopicId="f1_workitem_detail_view_htm"
             visible="${workitemmodel.existed}"              
             leftItemIds="ctxt_refreshId">            
        <action id="ctxt_refreshId" text="${res.REFRESH_CONTEXT}"
                actionCommand="refreshcontent" icon="OracleIcons.REFRESH"
                actionListener="${refreshcontent}"/>
        <separator id="1"/>
        <action id="ctxt_restoreId" text="${res.RESTORE_CONTEXT}"
                actionCommand="restorecontext" icon="TeamIcons.RESTORECONTEXT"
                stateUpdate="true" actionListener="${restorecontext}"/>
        <action id="ctxt_saveId" text="${res.SAVE_CONTEXT}"
                actionCommand="savecontext" icon="TeamIcons.SAVECONTEXT"
                actionListener="${savecontext}"/>
        <action id="ctxt_delId" text="${res.DELETE_CONTEXT}"
                actionCommand="deletecontext" icon="TeamIcons.DELETECONTEXT"
                stateUpdate="true" actionListener="${deletecontext}"/>
        <action id="active_workitemId" renderType="toggle" text="${res.ACTIVE}"
                actionCommand="activechange" icon="TeamIcons.ACTIVE_WORKITEM"
                altText="${res.MAKE_ACTIVE}" altIcon="TeamIcons.WORKITEM"
                actionListener="${workitemActiveStatus}"/>
    </toolbar>

Attributes

Name Type Default value Required? Supports EL? Description
idStringYIt is the identifier for the component defined. The id is unique inside its grouping parent scope.
tagNameStringYThe tag name.
disabledbooleanfalseYIndicates whether the tag will be rendered as disabled or not. Valid values are true or false. The control will show as grayed out without reacting to any user input or action if the value is set to true.
shortDescStringYThe content will show as a tooltip information when mouseover its UI when the value is set.
visiblebooleantrueYIndicates if the UI block of the tag will be rendered as visible or not. Valid values are true or false. The component will not be rendered but the corresponding component will still be created and kept in the runtime component tree if the value is set to false.
mouseListenerjava.awt.event.MouseListenerEL onlyA MouseListener java class for the rendered UI component. Please refer to Oracle Connector Developer Guide on how to write and use listeners when implementing a connector.
keyListenerjava.awt.event.KeyListenerEL onlyA KeyListener java class for the rendered UI component. Please refer to Oracle Connector Developer Guide on how to write and use listeners when implementing a connector.
focusListenerjava.awt.event.FocusListenerEL onlyA FocusListener java class for the rendered UI component. Please refer to Oracle Connector Developer Guide on how to write and use listeners when implementing a connector.
PropertyChangeListenerjava.awt.event.PropertyChangeListenerEL OnlyA PropertyChangeListener java class for the rendered UI component. Please refer to Oracle Connector Developer Guide on how to write and use listeners when implementing a connector.
helpTopicIdStringYHelp topic ID that associate the help content with the current tag. For example -- when the connector integrates its help with Oracle Help center: This id will be used to identify the help HTML page inside connector help jar file and show the page in Oracle Help Center when the UI component has focus and F1 key is pressed.
titleStringYThe title attribute.
centerItemIdsjava.util.SetYThe centerItemIds attribute specifies all action buttons that should be aligned in the middle of the toolbar. It is a String of tag ids separated by comma.
leftItemIdsjava.util.SetYThe leftItemIds attribute specifies all action buttons that should be aligned in the left side of the toolbar. It is a String of tag ids separated by comma.