Changes for page WOBrowser
Last modified by Pascal Robert on 2012/02/11 08:25
From version 4.1
edited by Pascal Robert
on 2011/05/08 01:19
on 2011/05/08 01:19
Change comment:
There is no comment for this version
To version 7.1
edited by Pascal Robert
on 2012/02/11 08:25
on 2012/02/11 08:25
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -10,12 +10,12 @@ 10 10 11 11 {{code}} 12 12 13 -WOBrowser { 14 - list=anArray; 15 - item=anItem; 16 - [displayString=displayValue; value=optionValue;] 17 - [escapeHTML=aBoolean;] 18 - [selections=objectArray; | selectedValues=valueArray;] [name=fieldName;] [disabled=aBoolean;] [multiple = aBoolean;] [size=anInt;]... 13 +WOBrowser { 14 + list=anArray; 15 + item=anItem; 16 + [displayString=displayValue; value=optionValue;] 17 + [escapeHTML=aBoolean;] 18 + [selections=objectArray; | selectedValues=valueArray;] [name=fieldName;] [disabled=aBoolean;] [multiple = aBoolean;] [size=anInt;]... 19 19 } 20 20 21 21 {{/code}} ... ... @@ -26,7 +26,7 @@ 26 26 | item | Identifier for the elements of the list. For example, aCollege could represent an object in the colleges array. 27 27 | displayString | Value to display in the selection list; for example, aCollege.name for each college object in the list. 28 28 | value | For each OPTION tag within the selection, this is the value attribute (that is, <OPTION value=someValue>). This value can be used as an identifier of an item in the list. 29 -| escapeHTML | If escapeHTML evaluates to true , the string rendered by displayString is converted so that characters which would be interpreted as HTML control characters become their escaped equivalent (this is the default). Thus, if a your displayString is "a <b>bold</b> idea", the string passed to the client browser would be "a <B>bold</B>idea", but it would display in the browser as "a <b>bold</b> idea". If escapeHTML evaluates to false , WebObjects simply passes your data to the client browser "as is." In this case, the above example would display in the client browser as "a bold idea". If you are certain that your strings have no characters in them which might be interpreted as HTML control characters, you get better performance if you set escapeHTML to false .29 +| escapeHTML | If escapeHTML evaluates to true , the string rendered by displayString is converted so that characters which would be interpreted as HTML control characters become their escaped equivalent (this is the default). Thus, if a your displayString is "a <b>bold</b> idea", the string passed to the client browser would be "a <B>bold</B> idea", but it would display in the browser as "a <b>bold</b> idea". If escapeHTML evaluates to false , WebObjects simply passes your data to the client browser "as is." In this case, the above example would display in the client browser as "a bold idea". If you are certain that your strings have no characters in them which might be interpreted as HTML control characters, you get better performance if you set escapeHTML to false . 30 30 | selections | Array of objects that the user chose from list. For the college example, selections would hold college objects. 31 31 | selectedValues | Array of values that is used with Direct Actions to specify which options in a list are selected. 32 32 | name | Name that uniquely identifies this element within the form. You can specify a name or let WebObjects automatically assign one at runtime. ... ... @@ -54,4 +54,4 @@ 54 54 55 55 = Related documents = 56 56 57 -[[ERXWOBrowser>>http://w ebobjects.mdimension.com/hudson/job/Wonder/javadoc/er/extensions/components/_private/ERXWOBrowser.html]]57 +[[ERXWOBrowser>>http://wocommunity.org/documents/javadoc/wonder/latest/er/extensions/components/_private/ERXWOBrowser.html]]