Open Patterns Dialog Layout
Tag edit


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

Example:
<dialog:edit name="FIRST_NAME" size="20" maxlength="<%=userdata.getFirstNameMaxLength()%>" value="<%=userdata.getFirstName()%>"/>


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

Attributes
NameRequiredRequest-timeTypeDescription
idfalsetruejava.lang.StringId of the single line edit 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.
cssclassfalsetruejava.lang.StringCSS class for the single line edit control generated by this tag. This is different than the inputcssclass, which sets the style of the input control itself. This value sets the style of the block element containing the input control.
namefalsetruejava.lang.StringName of the parameter used to identify submitted data.
sizefalsetruejava.lang.StringSize of the input tag used to limit viewable area.
maxlengthfalsetruejava.lang.StringSize of the input tag used to limit amount of entered data.
inputcssclassfalsetruejava.lang.StringClass for the input control representing this single line edit 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.
valuefalsetruejava.lang.StringInitial value to display in the edit control.
onchangefalsetruejava.lang.StringJavaScript code to execute when the content of the edit field changes.
onkeypressfalsetruejava.lang.StringJavaScript code to execute when the key was pressed while entering data into the edit field.
onkeyupfalsetruejava.lang.StringJavaScript code to execute on key up event while entering data into the edit field.

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.