Oracle Fusion Middleware Tag Reference for Oracle Team Productivity Center Connectors
11g Release 2 (11.1.2.1.0)
E17495-02
Go back

Summary

Tag name: <comment>

The comment tag is used to render a comment UI block.

Code Example(s)

<comment newComment="${workitemmodel.values.newcomments}"
         existedComment="${workitemmodel.comments}" label="Comments"/>

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.
labelStringYA short string that briefly describes the purpose of the component.
valueObjectYThe assigned or computed quantity of the component.
readOnlybooleanfalseYIndicates if the rendered UI block of the current tag should be readOnly or not. Valid values are true and false. The UI block is not editable if the value is sete.
requiredbooleanfalseYIndicates if the value needs to be specified when user tries to save the work item. Valid values are true and false. The UI block is rendered with a (*) after the component label. Data validation is triggered during data submission if the value is set to true.
simplebooleanfalseYThe UI block for the tag component will be rendered without label if the value is true. Valid values are true and false.
validatororacle.alm.view.uicomponents.AlmValidatorEL OnlyAn Oracle AlmValidator class that is used to validate the value specified.
pprTargetsString[]EL OnlyAs a support for partial page refresh. It indicates the UI components need to be refreshed when the value for the current tag componet is changed. Its value is a comma separated string that contains the IDs of other tag components defined on the same page.
newCommentjava.lang.ObjectEL OnlyUI block that allows user to enter new comments for the work item. It is rendered as a textArea field.
existedCommentjava.lang.ObjectEL OnlyUI block that holds existing comments for the work item. It is rendered as a textArea field.
enableUpdatebooleantrueYIndicates whether to enable comment update or not. Valid values are true and false. The update button is rendered in the comment UI block if the value is set to true.
enableNewOptionbooleantrueYIndicates whether to enable the hide and show options in the new comment UI block. Valid values are true and false. Two radio buttons will be rendered in the comment UI block if the value is set to true.
hideTextStringYThe text or label used for the "hide" option in the new comment UI block.
showTextStringYThe text or label used for the "show" option in the new comment UI block.
existedTitleStringYThe title used for the existing comments UI block.
newTitleStringYThe title used for the new comments UI block.
contentWidthint200YWidth of the textEditor.
contentHeightint200YHeight of the textEditor.
contentTypeStringnullYthe contentType of the textEditor. The textEditor will be rendered as a html control if it is "html".