Open Patterns Dialog Layout
Tag checkbox

Custom tag to generate all HTML code necessary to display checkbox control displayed in the dialog row.

<dialog:checkbox name="SUPERUSER" checked="<%=userdata.isSuperUser()%>" focus="true"/>

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

idfalsetruejava.lang.StringId of the checkbox control to construct. This has to be the same id as is the id of the label and the context help associated with this control. 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.
typefalsetruejava.lang.StringType of the block element to generate for this label. The available options are "div" or "span".
cssclassfalsetruejava.lang.StringCSS class for the checkbox control generated by this tag. This is different than the checkboxcssclass, which sets the style of the input control itself. This value sets the style of the block element containing the input control.
stylefalsetruejava.lang.StringCSS style for the control generated by this tag.
namefalsetruejava.lang.StringName of the parameter used to identify submitted data.
checkboxcssclassfalsetruejava.lang.StringClass for the input control representing this input control. This is different than the cssclass which sets the style of the block element containing the control itself.
focusfalsetruejava.lang.StringDoes this control have focus when it is displayed on the page or not. Only one control on a page or tab can be marked as focus at a time. If multiple controls are marked this way, then the first one on the page or tab will get the focus. If this control have focus when it is displayed on the page this value should be true or 1.
disabledfalsetruejava.lang.StringFlag specifying if this input control is initially disabled therefore preventing user to enter or modify value it contains.
onchangefalsetruejava.lang.StringJavaScript code to execute when check state changes.
checkedfalsetruejava.lang.StringFlag specifying if the checkbox is checked.

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.