Oracle Fusion Middleware Tag Reference for Oracle Team Productivity Center Connectors
12c (12.1.2)
E23195-01
Oracle Team Productivity Center UI tag --<case>
Go back

Summary

Tag name: <case>

The case tag is used inside the switch tag. It encloses the UI component tree to show based on the matching value specified in runtime.

Code Example(s)

Please see switch for example.

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.beans.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.
nameStringYYThe name of the current case tag. The UI block inside current case tag will be rendered if the value of the parent switch matches the name.