Open Patterns Dialog Layout
Tag label


Custom tag to generate control label which serves as a trigger to display context help for some control associated with the label. The association between the control and its label is made using id, since both the label, the control and the context help should be constructed by other dialog custom tags using the same id or placed within a dialog row or a column of dialog row with the same id.

Example:
<dialog:label accesskey="F">First name:</dialog:label>


Tag Information
Tag Classorg.opensubsystems.patterns.dialoglayout.www.HelpLabelTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsetruejava.lang.StringId of the label to construct. This has to be the same id as is the id of the control and the context help associated with this label. The easiest way is to do not specify the id for individual elements of the dialog row and instead specify id of the dialog row or a column of a dialog row that contains these elements.
cssclassfalsetruejava.lang.StringCSS class for the dialog row column generated by this tag.
typefalsetruejava.lang.StringType of the block element to generate for this label. The available options are "div" or "span".
stylefalsetruejava.lang.StringCSS style for the label generated by this tag.
postfixfalsetruejava.lang.StringAdditional text to generate after the text of the label itself. This text will be generated into separate span element.
accesskeyfalsetruejava.lang.StringAccess key that will be used in label for to indicate mnemonics for the associated control. If user presses ALT+[accesskey] the focus will move to the associated control.
allowfocusfalsetruejava.lang.StringBoolean flag specifying if user can focus on the text of the label for example when tabbing through the controls of the dialog. If focus is allowed, the label can gain focus and user can display the context help associated with that control by pressing Enter or Space. If focus is not allowed, the context help can be displayed by pressing ALT+F1 when the control itself has the focus. This value should be true or 1 to allow focus. This value can be also configured globally using property oss.webui.helplabel.focus. Default value is false.

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.