[Httpunit-commit] CVS: httpunit/doc Javascript-support.html,1.3,1.4 release_notes.txt,1.132,1.133
Brought to you by:
russgold
From: Russell G. <rus...@us...> - 2002-08-08 20:47:26
|
Update of /cvsroot/httpunit/httpunit/doc In directory usw-pr-cvs1:/tmp/cvs-serv16831/doc Modified Files: Javascript-support.html release_notes.txt Log Message: Class renaming, added support for Option constructor and options property writing Index: Javascript-support.html =================================================================== RCS file: /cvsroot/httpunit/httpunit/doc/Javascript-support.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Javascript-support.html 7 Aug 2002 20:36:23 -0000 1.3 +++ Javascript-support.html 8 Aug 2002 20:47:21 -0000 1.4 @@ -93,19 +93,22 @@ <h3>Select</h3> <h4>properties</h4> <ul> -<li>length - read-only - the number of options associated with the control</li> -<li>selectedIndex - read-only - the index of the selected option</li> -<li>options.length - read-only - the number of options associated with the control</li> +<li>length - read-only - the number of options associated with the control</li> +<li>selectedIndex - read-only - the index of the selected option</li> +<li>options - read-write - an array of the options associated with the control</li> +<li>options.length - read-write - the number of options associated with the control</li> </ul> <h3>Option</h3> +<h4>constructor</h4> +You may construct an Option object and assign it to an element in the Select.options array <h4>properties</h4> <ul> -<li>text - read-only - the display text associated with the option (listed after the <'option> tag)</li> -<li>value - read-write - the value associated with the option (from the 'value' attribute)</li> +<li>text - read-write - the display text associated with the option (listed after the <'option> tag)</li> +<li>value - read-write - the value associated with the option (from the 'value' attribute)</li> <li>selected - read-write - true if this option is currently selected</li> <li>defaultSelected - read-only - true if this option is selected by default</li> -<li>index - read-only - the index of this option in its select</li> +<li>index - read-only - the index of this option in its select</li> </ul> </body> Index: release_notes.txt =================================================================== RCS file: /cvsroot/httpunit/httpunit/doc/release_notes.txt,v retrieving revision 1.132 retrieving revision 1.133 diff -u -r1.132 -r1.133 --- release_notes.txt 7 Aug 2002 20:36:23 -0000 1.132 +++ release_notes.txt 8 Aug 2002 20:47:21 -0000 1.133 @@ -12,10 +12,17 @@ Revision History: + 8-Aug-2002 +Changes: + 1. The class com.meterware.httpunit.ScriptableObject has been renamed as com.meterware.httpunit.scripting.ScriptableDelegate + +Additions: + 1. The Option object now supports a constructor and writing to the text property + 7-Aug-2002 Additions: 1. JavaScript: the Select control now supports the length, options, and selectedIndex properties - 2. JavaScript: the Options object now supports the index, defaultSelected, selected (r/w), value (r/w) and + 2. JavaScript: the Option object now supports the index, defaultSelected, selected (r/w), value (r/w) and text (read-only) properties 6-Aug-2002 |