|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--WbzTextField
WbzTextField is based on the HTML-elements textarea
und input
and allows the editing of multi-lined unformated text.
attributes:
attribute | type | description |
---|---|---|
select | expression | The XPath-expression, that selects either an element or attribute |
rows optional | positiveInteger | number of displayable rows, default is 1. |
cols optional | positiveInteger | number of displayable columns, default is 40. |
maxlength optional | positiveInteger | maximum number of permitted charactes. |
xmlContent optional | boolean | If this flag is set, the textfield will diesplay the XML-sourcecode of the first subnode. On validation of the field the text is parsed and the resulting DOM-Fragmentwill be inserted in place of the first subnode. |
Validation occurs when enter is pressed or the text-field looses focus
Some simple samples:
<wbz:view class="WbzTextField" select="@name"/> <wbz:view class="WbzTextField" select="name" maxlength="20"/> <wbz:view class="WbzTextField" select="content" cols="80" rows="4"/>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |