Changes for page WOTextField
Last modified by Ray Kiddy on 2021/05/03 20:17
From version 19.1
edited by Pascal Robert
on 2012/02/11 08:17
on 2012/02/11 08:17
Change comment:
There is no comment for this version
To version 20.1
edited by Pascal Robert
on 2012/02/11 08:17
on 2012/02/11 08:17
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,4 +1,4 @@ 1 -{{toc }}{{/toc}}1 +{{toc/}} 2 2 3 3 = Introduction = 4 4 ... ... @@ -23,14 +23,42 @@ 23 23 24 24 = Bindings = 25 25 26 -| value | During page generation, value sets the default value displayed in the single-line text field. During request handling, it holds the value the user entered into the field, or the default value if the user left the field untouched. 27 -| formatter | An instance of a java.text.Format subclass to be used to format object values for display as strings, and format user-entered strings back into object values. This attribute should specify a variable containing (or method returning) a preconfigured formatter object. 28 -\\\\\\If a user enters an "unformattable" value, WOTextField passes the invalid value through, allowing you to send back an error page that shows the invalid value. 29 -| dateformat | A format string that specifies how value should be formatted as a date. If a date format is used, value can be assigned an NSTimestamp object (if it is assigned a java.langString object, it will be stored as the string representation of an NSTimestamp object). If the element's value can't be interpreted according to the format you specify, it is set to null. See the NSTimestamp class specification for a description of the date format syntax. 30 -| numberformat | A format string that specifies how value should be formatted as a number. If the element's value can't be interpreted according to the format you specify, value is set to null. See the NSNumberFormatter class specification for a description of the number format syntax. 31 -| name | Name that uniquely identifies this element within the form. You may specify a name or let WebObjects automatically assign one at runtime. 32 -| disabled | If disabled evaluates to true, the element appears in the page but is not active. That is, value does not contain the user's input when the page is submitted. 33 -| useDecimalNumber | If useDecimalNumber evaluates to true and numberformat or formatter is not null, the element creates a BigDecimal value from the formatted string value. 26 +|((( 27 +value 28 +)))|((( 29 +During page generation, value sets the default value displayed in the single-line text field. During request handling, it holds the value the user entered into the field, or the default value if the user left the field untouched. 30 +))) 31 +|((( 32 +formatter 33 +)))|((( 34 +An instance of a java.text.Format subclass to be used to format object values for display as strings, and format user-entered strings back into object values. This attribute should specify a variable containing (or method returning) a preconfigured formatter object. 35 +\\If a user enters an "unformattable" value, WOTextField passes the invalid value through, allowing you to send back an error page that shows the invalid value. | 36 +))) 37 +|((( 38 +dateformat 39 +)))|((( 40 +A format string that specifies how value should be formatted as a date. If a date format is used, value can be assigned an NSTimestamp object (if it is assigned a java.langString object, it will be stored as the string representation of an NSTimestamp object). If the element's value can't be interpreted according to the format you specify, it is set to null. See the NSTimestamp class specification for a description of the date format syntax. 41 +))) 42 +|((( 43 +numberformat 44 +)))|((( 45 +A format string that specifies how value should be formatted as a number. If the element's value can't be interpreted according to the format you specify, value is set to null. See the NSNumberFormatter class specification for a description of the number format syntax. 46 +))) 47 +|((( 48 +name 49 +)))|((( 50 +Name that uniquely identifies this element within the form. You may specify a name or let WebObjects automatically assign one at runtime. 51 +))) 52 +|((( 53 +disabled 54 +)))|((( 55 +If disabled evaluates to true, the element appears in the page but is not active. That is, value does not contain the user's input when the page is submitted. 56 +))) 57 +|((( 58 +useDecimalNumber 59 +)))|((( 60 +If useDecimalNumber evaluates to true and numberformat or formatter is not null, the element creates a BigDecimal value from the formatted string value. 61 +))) 34 34 35 35 = Examples = 36 36 ... ... @@ -38,18 +38,12 @@ 38 38 39 39 == WOD-style == 40 40 41 -{{code}} 69 +{{code/}} 42 42 43 - 44 -{{/code}} 45 - 46 46 == Inline bindings (WOOGNL) == 47 47 48 -{{code}} 73 +{{code/}} 49 49 50 - 51 -{{/code}} 52 - 53 53 = Related documents = 54 54 55 -[[ERXWOTextField>>http://wocommunity.org/documents/javadoc/wonder/latest/er/extensions/components/_private/ERXWOTextField.html]] 77 +[[ERXWOTextField>>url:http://wocommunity.org/documents/javadoc/wonder/latest/er/extensions/components/_private/ERXWOTextField.html||shape="rect"]]