Html 4.01 states that boolean attributes can be written
as attributeName or attributeName="attributeName".
It seems that rendering the latter is the better option.
The renderkit docs will be updated at some point soon.
SECTION: Modified Files
----------------------------
M src/com/sun/faces/renderkit/html_basic/HtmlResponseWriter.java
- render boolean attributes, when true, as attrname="attrname", otherwise
do not render the attribute.
M src/com/sun/faces/renderkit/html_basic/SelectManyCheckboxListRenderer.java
- remove space from returned value
M test/com/sun/faces/renderkit/html_basic/TestHtmlResponseWriter.java
M test/com/sun/faces/util/TestUtil.java
M web/test/CorrectRenderersResponse
M web/test/CorrectRenderersResponse_2
M web/test/CorrectRenderersResponse_3
M web/test/RenderResponse_correct
M web/test/TestRenderersFromJsp_correct
- unit test updates
SECTION: Diffs
----------------------------
Index: src/com/sun/faces/renderkit/html_basic/HtmlResponseWriter.java
===================================================================
RCS file:
/cvs/javaserverfaces-sources/jsf-ri/src/com/sun/faces/renderkit/html_basic/HtmlResponseWriter.java,v
retrieving revision 1.20
diff -u -r1.20 HtmlResponseWriter.java
--- src/com/sun/faces/renderkit/html_basic/HtmlResponseWriter.java 18
Oct 2005 00:27:05 -0000 1.20
+++ src/com/sun/faces/renderkit/html_basic/HtmlResponseWriter.java 1
Nov 2005 15:10:11 -0000
@@ -46,10 +46,7 @@
* of the <code>ResponseWriter</code> abstract class.
* Kudos to Adam Winer (Oracle) for much of this code.
*/
-public class HtmlResponseWriter extends ResponseWriter {
-
- // XHTML content type that will be passed from RenderKitImpl
- private static String XHTML_CONTENT_TYPE = "application/xhtml+xml";
+public class HtmlResponseWriter extends ResponseWriter {
// Content Type for this Writer.
//
@@ -71,10 +68,7 @@
// True when we shouldn't be escaping output (basically,
// inside of <script> and <style> elements).
//
- private boolean dontEscape;
-
- // Flag controlling the rendering of element attributes
- private boolean usingXhtmlStyle;
+ private boolean dontEscape;
// Internal buffer used when outputting properly escaped information
// using HtmlUtils class.
@@ -95,21 +89,10 @@
public HtmlResponseWriter(Writer writer, String contentType, String
encoding)
throws FacesException {
this.writer = writer;
- // PENDING(): Do the right thing for XHTML vs HTML:
- /*
- * - When in HTML mode, use HTML attribute minimization ("disabled")
- * and HTML-style empty tags (<br>, not <br />)
- * - When in XHTML mode, use XML rules (disabled="disabled" and
- * <br />)
- */
if (null != contentType) {
this.contentType = contentType;
- }
-
- if (XHTML_CONTENT_TYPE.equals(this.contentType)) {
- usingXhtmlStyle = true;
- }
+ }
this.encoding = encoding;
@@ -287,16 +270,16 @@
// Output Boolean values specially
if (valueClass == Boolean.class) {
if (Boolean.TRUE.equals(value)) {
- if (!usingXhtmlStyle) {
- writer.write(' ');
- writer.write(name);
- } else {
- writer.write(' ');
- writer.write(name);
- writer.write("=\"");
- writer.write(name);
- writer.write('"');
- }
+ // NOTE: HTML 4.01 states that boolean attributes
+ // may legally take a single value which is the
+ // name of the attribute itself or appear using
+ // minimization.
+ //
http://www.w3.org/TR/html401/intro/sgmltut.html#h-3.3.4.2
+ writer.write(' ');
+ writer.write(name);
+ writer.write("=\"");
+ writer.write(name);
+ writer.write('"');
}
} else {
writer.write(' ');
Index:
src/com/sun/faces/renderkit/html_basic/SelectManyCheckboxListRenderer.java
===================================================================
RCS file:
/cvs/javaserverfaces-sources/jsf-ri/src/com/sun/faces/renderkit/html_basic/SelectManyCheckboxListRenderer.java,v
retrieving revision 1.43
diff -u -r1.43 SelectManyCheckboxListRenderer.java
---
src/com/sun/faces/renderkit/html_basic/SelectManyCheckboxListRenderer.java
18 Oct 2005 00:27:06 -0000 1.43
+++
src/com/sun/faces/renderkit/html_basic/SelectManyCheckboxListRenderer.java
1 Nov 2005 15:10:11 -0000
@@ -288,7 +288,7 @@
String getSelectedTextString() {
- return " checked";
+ return "checked";
}
Index: test/com/sun/faces/renderkit/html_basic/TestHtmlResponseWriter.java
===================================================================
RCS file:
/cvs/javaserverfaces-sources/jsf-ri/test/com/sun/faces/renderkit/html_basic/TestHtmlResponseWriter.java,v
retrieving revision 1.16
diff -u -r1.16 TestHtmlResponseWriter.java
---
test/com/sun/faces/renderkit/html_basic/TestHtmlResponseWriter.java
19 Oct 2005 19:51:38 -0000 1.16
+++
test/com/sun/faces/renderkit/html_basic/TestHtmlResponseWriter.java 1
Nov 2005 15:10:11 -0000
@@ -178,20 +178,20 @@
Boolean bool = new Boolean("true");
writer.writeAttribute("readonly", bool, "readonly");
assertTrue(
- sw.toString().equals("<input type=" + "\"text\"" + "
readonly"));
+ sw.toString().equals("<input type=" + "\"text\"" + "
readonly=\"readonly\""));
//
//Assert that boolean "false" values don't get written out
//
bool = new Boolean("false");
writer.writeAttribute("disabled", bool, "disabled");
assertTrue(
- sw.toString().equals("<input type=" + "\"text\"" + "
readonly"));
+ sw.toString().equals("<input type=" + "\"text\"" + "
readonly=\"readonly\""));
//
//Assert correct escape char
//
writer.writeAttribute("greaterthan", ">", "greaterthan");
assertTrue(sw.toString().equals("<input type=" + "\"text\"" +
- " readonly" +
+ " readonly=\"readonly\"" +
" greaterthan=" + "\">\""));
} catch (IOException e) {
assertTrue(false);
Index: test/com/sun/faces/util/TestUtil.java
===================================================================
RCS file:
/cvs/javaserverfaces-sources/jsf-ri/test/com/sun/faces/util/TestUtil.java,v
retrieving revision 1.26
diff -u -r1.26 TestUtil.java
--- test/com/sun/faces/util/TestUtil.java 19 Oct 2005 19:51:40
-0000 1.26
+++ test/com/sun/faces/util/TestUtil.java 1 Nov 2005 15:10:11 -0000
@@ -155,7 +155,7 @@
"ISO-8859-1");
input.setReadonly(true);
Util.renderBooleanPassThruAttributes(writer, input);
- expectedResult = " readonly";
+ expectedResult = " readonly=\"readonly\"";
assertEquals(expectedResult, sw.toString());
@@ -202,7 +202,7 @@
input.getAttributes().put("disabled", "true");
input.getAttributes().put("readonly", "false");
Util.renderBooleanPassThruAttributes(writer, input);
- String expectedResult = " disabled";
+ String expectedResult = " disabled=\"disabled\"";
assertEquals(expectedResult, sw.toString());
// verify no passthru attributes returns empty string
Index: web/test/CorrectRenderersResponse
===================================================================
RCS file:
/cvs/javaserverfaces-sources/jsf-ri/web/test/CorrectRenderersResponse,v
retrieving revision 1.40
diff -u -r1.40 CorrectRenderersResponse
--- web/test/CorrectRenderersResponse 19 Oct 2005 19:51:41 -0000 1.40
+++ web/test/CorrectRenderersResponse 1 Nov 2005 15:10:11 -0000
@@ -7,9 +7,9 @@
<table border="0" id="radioRenderer" class="styleClass">
<tr>
<td>
-<input type="radio" name="radioRenderer" id="radioRenderer:0"
value="One" disabled tabindex="5" title="title" /><label
for="radioRenderer:0" class="disabledClass"> One</label></td>
+<input type="radio" name="radioRenderer" id="radioRenderer:0"
value="One" disabled="disabled" tabindex="5" title="title" /><label
for="radioRenderer:0" class="disabledClass"> One</label></td>
<td>
-<input type="radio" checked name="radioRenderer" id="radioRenderer:1"
value="Two" tabindex="5" title="title" /><label for="radioRenderer:1"
class="enabledClass"> Two</label></td>
+<input type="radio" checked="checked" name="radioRenderer"
id="radioRenderer:1" value="Two" tabindex="5" title="title" /><label
for="radioRenderer:1" class="enabledClass"> Two</label></td>
<td>
<input type="radio" name="radioRenderer" id="radioRenderer:2"
value="Three" tabindex="5" title="title" /><label for="radioRenderer:2"
class="enabledClass"> Three</label></td>
<td>group</td><td>
Index: web/test/CorrectRenderersResponse_2
===================================================================
RCS file:
/cvs/javaserverfaces-sources/jsf-ri/web/test/CorrectRenderersResponse_2,v
retrieving revision 1.39
diff -u -r1.39 CorrectRenderersResponse_2
--- web/test/CorrectRenderersResponse_2 27 Oct 2005 16:44:50 -0000
1.39
+++ web/test/CorrectRenderersResponse_2 1 Nov 2005 15:10:11 -0000
@@ -1,11 +1,11 @@
-<input id="myCheckbox" type="checkbox" name="myCheckbox" checked />
+<input id="myCheckbox" type="checkbox" name="myCheckbox"
checked="checked" />
<input id="myCheckbox" type="checkbox" name="myCheckbox" />
<input id="myCheckbox" type="checkbox" name="myCheckbox" />
-<select id="myListbox" name="myListbox" size="4"> <option
value="100" selected>Long1</option>
+<select id="myListbox" name="myListbox" size="4"> <option
value="100" selected="selected">Long1</option>
<option value="101">Long2</option>
<option value="102">Long3</option>
<option value="103">Long4</option>
</select>
<input id="mySecret" type="password" name="mySecret" value="" />
<input id="myInputText" type="text" name="myInputText" value="text"
/><span id="myOutputText"></span><textarea id="myTextarea"
name="myTextarea" class="bar" style="foo">TextareaRenderer</textarea>
-<img id="myGraphicImage"
src="/test/nonModelReferenceImage.gif;jsessionid=059BAE8BD400E6DD20A675D2ACEF8C75"
usemap="usemap" ismap /><img
src="/test/foo/modelReferenceImage.gif;jsessionid=059BAE8BD400E6DD20A675D2ACEF8C75"
usemap="usemap" ismap /><span id="myOutputMessage">My name is Bobby
Orr</span>
+<img id="myGraphicImage"
src="/test/nonModelReferenceImage.gif;jsessionid=059BAE8BD400E6DD20A675D2ACEF8C75"
usemap="usemap" ismap="ismap" /><img
src="/test/foo/modelReferenceImage.gif;jsessionid=059BAE8BD400E6DD20A675D2ACEF8C75"
usemap="usemap" ismap="ismap" /><span id="myOutputMessage">My name is
Bobby Orr</span>
Index: web/test/CorrectRenderersResponse_3
===================================================================
RCS file:
/cvs/javaserverfaces-sources/jsf-ri/web/test/CorrectRenderersResponse_3,v
retrieving revision 1.31
diff -u -r1.31 CorrectRenderersResponse_3
--- web/test/CorrectRenderersResponse_3 27 Oct 2005 16:44:51 -0000
1.31
+++ web/test/CorrectRenderersResponse_3 1 Nov 2005 15:10:11 -0000
@@ -1,19 +1,19 @@
-<select id="myMenu" name="myMenu" multiple size="1"> <option
value="Red">Red</option>
- <option value="Blue" selected>Blue</option>
+<select id="myMenu" name="myMenu" multiple="multiple" size="1">
<option value="Red">Red</option>
+ <option value="Blue" selected="selected">Blue</option>
<option value="Green">Green</option>
<option value="Yellow">Yellow</option>
</select>
-<select id="myListbox" name="myListbox" multiple size="5"> <option
value="Red">Red</option>
- <option value="Blue" selected>Blue</option>
+<select id="myListbox" name="myListbox" multiple="multiple" size="5">
<option value="Red">Red</option>
+ <option value="Blue" selected="selected">Blue</option>
<optgroup label="group"> <option value="Green">Green</option>
<option value="Yellow">Yellow</option>
</optgroup></select>
<table border="0" id="myCheckboxlist" class="styleClass">
<tr>
<td>
-<input name="myCheckboxlist" id="myCheckboxlist:0" value="Red"
type="checkbox" disabled tabindex="5" title="title" /><label
for="myCheckboxlist:0" class="disabledClass"> Red</label></td>
+<input name="myCheckboxlist" id="myCheckboxlist:0" value="Red"
type="checkbox" disabled="disabled" tabindex="5" title="title" /><label
for="myCheckboxlist:0" class="disabledClass"> Red</label></td>
<td>
-<input name="myCheckboxlist" id="myCheckboxlist:1" value="Blue"
type="checkbox" checked tabindex="5" title="title" /><label
for="myCheckboxlist:1" class="enabledClass"> Blue</label></td>
+<input name="myCheckboxlist" id="myCheckboxlist:1" value="Blue"
type="checkbox" checked="checked" tabindex="5" title="title" /><label
for="myCheckboxlist:1" class="enabledClass"> Blue</label></td>
<td>group</td><td>
<table border="0">
<tr>
@@ -25,7 +25,7 @@
</table></td> </tr>
</table>
<select id="myOnemenu" name="myOnemenu" size="1"> <option
value="Red">Red</option>
- <option value="Blue" selected>Blue</option>
+ <option value="Blue" selected="selected">Blue</option>
<option value="Green">Green</option>
<option value="Yellow">Yellow</option>
</select>
Index: web/test/RenderResponse_correct
===================================================================
RCS file:
/cvs/javaserverfaces-sources/jsf-ri/web/test/RenderResponse_correct,v
retrieving revision 1.136
diff -u -r1.136 RenderResponse_correct
--- web/test/RenderResponse_correct 27 Oct 2005 16:44:51 -0000 1.136
+++ web/test/RenderResponse_correct 1 Nov 2005 15:10:11 -0000
@@ -27,7 +27,7 @@
</tr>
<tr>
<td><input id="basicForm:username1" type="text"
name="basicForm:username1" value="JavaServerFaces" class="inputClass"
/></td>
-<td><input id="basicForm:username2" type="text"
name="basicForm:username2" value="JavaServerFaces" class="inputClass"
disabled /></td>
+<td><input id="basicForm:username2" type="text"
name="basicForm:username2" value="JavaServerFaces" class="inputClass"
disabled="disabled" /></td>
</tr>
<tr>
<td><span id="basicForm:text2" class="outputClass">Password:</span></td>
@@ -47,7 +47,7 @@
<TD>
- <input id="basicForm:pushButton" type="image"
src="duke.gif;jsessionid=99ec0282023f3f31a393ffff9aa4"
name="basicForm:pushButton"
onclick="clearFormHiddenParams_basicForm(this.form.id);"
style="someStyle" disabled />
+ <input id="basicForm:pushButton" type="image"
src="duke.gif;jsessionid=99ec0282023f3f31a393ffff9aa4"
name="basicForm:pushButton"
onclick="clearFormHiddenParams_basicForm(this.form.id);"
style="someStyle" disabled="disabled" />
</TD>
</TR>
@@ -107,7 +107,7 @@
</TD>
<TD>
- <img id="basicForm:graphicImage"
src="/test/duke.gif;jsessionid=99ec0282023f3f31a393ffff9aa4"
style="someStyle" usemap="#map1" ismap />
+ <img id="basicForm:graphicImage"
src="/test/duke.gif;jsessionid=99ec0282023f3f31a393ffff9aa4"
style="someStyle" usemap="#map1" ismap="ismap" />
</TD>
</TR>
@@ -155,7 +155,7 @@
</TD>
<TD>
- <img id="basicForm:output_graphicImage"
src="/test/duke.gif;jsessionid=99ec0282023f3f31a393ffff9aa4"
usemap="#map1" ismap />
+ <img id="basicForm:output_graphicImage"
src="/test/duke.gif;jsessionid=99ec0282023f3f31a393ffff9aa4"
usemap="#map1" ismap="ismap" />
</TD>
</TR>
@@ -266,7 +266,7 @@
<TD>
- <select name="basicForm:_id_id299" class="selectoneClass"
size="10" style="someStyle" tabindex="20" title="Select Quantity">
<option value="0" disabled class="dclass">0</option>
+ <select name="basicForm:_id_id299" class="selectoneClass"
size="10" style="someStyle" tabindex="20" title="Select Quantity">
<option value="0" disabled="disabled" class="dclass">0</option>
<option value="1" class="eclass">1</option>
<option value="2" class="eclass">2</option>
<option value="3" class="eclass">3</option>
@@ -309,11 +309,11 @@
<table id="basicForm:shipType" class="someStyleClass"
style="someStyle">
<tr>
<td>
-<input type="radio" name="basicForm:shipType" id="basicForm:shipType:0"
value="nextDay" accesskey="A" tabindex="3" disabled /><label
for="basicForm:shipType:0" class="disabledClass"> Next Day</label></td>
+<input type="radio" name="basicForm:shipType" id="basicForm:shipType:0"
value="nextDay" accesskey="A" tabindex="3" disabled="disabled" /><label
for="basicForm:shipType:0" class="disabledClass"> Next Day</label></td>
<td>
-<input type="radio" name="basicForm:shipType" id="basicForm:shipType:1"
value="nextWeek" accesskey="A" tabindex="3" disabled /><label
for="basicForm:shipType:1" class="disabledClass"> Next Week</label></td>
+<input type="radio" name="basicForm:shipType" id="basicForm:shipType:1"
value="nextWeek" accesskey="A" tabindex="3" disabled="disabled" /><label
for="basicForm:shipType:1" class="disabledClass"> Next Week</label></td>
<td>
-<input type="radio" name="basicForm:shipType" id="basicForm:shipType:2"
value="nextMonth" accesskey="A" tabindex="3" disabled /><label
for="basicForm:shipType:2" class="disabledClass"> Next Month</label></td>
+<input type="radio" name="basicForm:shipType" id="basicForm:shipType:2"
value="nextMonth" accesskey="A" tabindex="3" disabled="disabled"
/><label for="basicForm:shipType:2" class="disabledClass"> Next
Month</label></td>
</tr>
</table>
@@ -327,15 +327,15 @@
<table border="1" id="basicForm:verticalRadio">
<tr>
<td>
-<input type="radio" name="basicForm:verticalRadio"
id="basicForm:verticalRadio:0" value="nextDay" disabled /><label
for="basicForm:verticalRadio:0"> Next Day</label></td>
+<input type="radio" name="basicForm:verticalRadio"
id="basicForm:verticalRadio:0" value="nextDay" disabled="disabled"
/><label for="basicForm:verticalRadio:0"> Next Day</label></td>
</tr>
<tr>
<td>
-<input type="radio" name="basicForm:verticalRadio"
id="basicForm:verticalRadio:1" value="nextWeek" disabled /><label
for="basicForm:verticalRadio:1"> Next Week</label></td>
+<input type="radio" name="basicForm:verticalRadio"
id="basicForm:verticalRadio:1" value="nextWeek" disabled="disabled"
/><label for="basicForm:verticalRadio:1"> Next Week</label></td>
</tr>
<tr>
<td>
-<input type="radio" name="basicForm:verticalRadio"
id="basicForm:verticalRadio:2" value="nextMonth" disabled /><label
for="basicForm:verticalRadio:2"> Next Month</label></td>
+<input type="radio" name="basicForm:verticalRadio"
id="basicForm:verticalRadio:2" value="nextMonth" disabled="disabled"
/><label for="basicForm:verticalRadio:2"> Next Month</label></td>
</tr>
</table>
@@ -371,7 +371,7 @@
<TD>Disabled Date:
</TD>
- <TD><input id="basicForm:date2" type="text" name="basicForm:date2"
value="July 11, 1996" accesskey="D" maxlength="20" size="3" tabindex="1"
readonly />
+ <TD><input id="basicForm:date2" type="text" name="basicForm:date2"
value="July 11, 1996" accesskey="D" maxlength="20" size="3" tabindex="1"
readonly="readonly" />
</TD>
</TR>
@@ -445,7 +445,7 @@
<td>
- <input id="basicForm:inputDate1" type="text"
name="basicForm:inputDate1" value="Jan 12, 1952" accesskey="D"
alt="input_date medium readonly" maxlength="20" size="10"
title="input_date medium readonly" readonly />
+ <input id="basicForm:inputDate1" type="text"
name="basicForm:inputDate1" value="Jan 12, 1952" accesskey="D"
alt="input_date medium readonly" maxlength="20" size="10"
title="input_date medium readonly" readonly="readonly" />
</td>
@@ -485,11 +485,11 @@
<tr>
<TD>Multi-select menu:</TD>
- <TD><select id="basicForm:ManyApples"
name="basicForm:ManyApples" class="selectmanyClass" multiple size="1"
style="someStyle"> <option value="0" class="eclass">zero</option>
+ <TD><select id="basicForm:ManyApples"
name="basicForm:ManyApples" class="selectmanyClass" multiple="multiple"
size="1" style="someStyle"> <option value="0"
class="eclass">zero</option>
<option value="1" class="eclass">one</option>
<option value="2" class="eclass">two</option>
<option value="3" class="eclass">three</option>
- <option value="4" disabled class="dclass">four</option>
+ <option value="4" disabled="disabled" class="dclass">four</option>
<option value="5" class="eclass">five</option>
<option value="6" class="eclass">six</option>
<option value="7" class="eclass">seven</option>
@@ -501,7 +501,7 @@
<tr>
<TD>Multi-select listbox:</TD>
- <TD><select name="basicForm:_id_id555" multiple
size="10" style="someStyle"> <option value="0"
class="dclass">zero</option>
+ <TD><select name="basicForm:_id_id555"
multiple="multiple" size="10" style="someStyle"> <option value="0"
class="dclass">zero</option>
<option value="1" class="dclass">one</option>
<option value="2" class="dclass">two</option>
<option value="3" class="dclass">three</option>
@@ -519,7 +519,7 @@
<table border="1" id="basicForm:ManyApples3"
class="styleClass" style="someStyle">
<tr>
<td>
-<input name="basicForm:ManyApples3" id="basicForm:ManyApples3:0"
value="0" type="checkbox" disabled accesskey="A" tabindex="3" /><label
for="basicForm:ManyApples3:0" class="disabledClass"> zero</label></td>
+<input name="basicForm:ManyApples3" id="basicForm:ManyApples3:0"
value="0" type="checkbox" disabled="disabled" accesskey="A" tabindex="3"
/><label for="basicForm:ManyApples3:0" class="disabledClass">
zero</label></td>
<td>
<input name="basicForm:ManyApples3" id="basicForm:ManyApples3:1"
value="1" type="checkbox" accesskey="A" tabindex="3" /><label
for="basicForm:ManyApples3:1" class="enabledClass"> one</label></td>
<td>
@@ -546,11 +546,11 @@
<TD><table
id="basicForm:checklistmodel">
<tr>
<td>
-<input name="basicForm:checklistmodel" id="basicForm:checklistmodel:0"
value="1" type="checkbox" disabled /><label
for="basicForm:checklistmodel:0" class="disabedClass"> one</label></td>
+<input name="basicForm:checklistmodel" id="basicForm:checklistmodel:0"
value="1" type="checkbox" disabled="disabled" /><label
for="basicForm:checklistmodel:0" class="disabedClass"> one</label></td>
<td>
-<input name="basicForm:checklistmodel" id="basicForm:checklistmodel:1"
value="2" type="checkbox" disabled /><label
for="basicForm:checklistmodel:1" class="disabedClass"> two</label></td>
+<input name="basicForm:checklistmodel" id="basicForm:checklistmodel:1"
value="2" type="checkbox" disabled="disabled" /><label
for="basicForm:checklistmodel:1" class="disabedClass"> two</label></td>
<td>
-<input name="basicForm:checklistmodel" id="basicForm:checklistmodel:2"
value="3" type="checkbox" disabled /><label
for="basicForm:checklistmodel:2" class="disabedClass"> three</label></td>
+<input name="basicForm:checklistmodel" id="basicForm:checklistmodel:2"
value="3" type="checkbox" disabled="disabled" /><label
for="basicForm:checklistmodel:2" class="disabedClass"> three</label></td>
</tr>
</table></TD>
</tr>
Index: web/test/TestRenderersFromJsp_correct
===================================================================
RCS file:
/cvs/javaserverfaces-sources/jsf-ri/web/test/TestRenderersFromJsp_correct,v
retrieving revision 1.4
diff -u -r1.4 TestRenderersFromJsp_correct
--- web/test/TestRenderersFromJsp_correct 27 Oct 2005 16:44:52
-0000 1.4
+++ web/test/TestRenderersFromJsp_correct 1 Nov 2005 15:10:11 -0000
@@ -21,7 +21,7 @@
<INPUT TYPE="CHECKBOX" NAME="/basicForm/validUser"> Checker
- <SELECT NAME="/basicForm/appleQuantity"><OPTION
VALUE="0">0.00</OPTION><OPTION VALUE="1">1.00</OPTION><OPTION
VALUE="2">2.00</OPTION><OPTION VALUE="3">3.00</OPTION><OPTION VALUE="4"
selected>4.00</OPTION><OPTION VALUE="5">5.00</OPTION><OPTION
VALUE="6">6.00</OPTION><OPTION VALUE="7">7.00</OPTION><OPTION
VALUE="8">8.00</OPTION><OPTION VALUE="9">9.00</OPTION></SELECT>
+ <SELECT NAME="/basicForm/appleQuantity"><OPTION
VALUE="0">0.00</OPTION><OPTION VALUE="1">1.00</OPTION><OPTION
VALUE="2">2.00</OPTION><OPTION VALUE="3">3.00</OPTION><OPTION VALUE="4"
selected="selected">4.00</OPTION><OPTION VALUE="5">5.00</OPTION><OPTION
VALUE="6">6.00</OPTION><OPTION VALUE="7">7.00</OPTION><OPTION
VALUE="8">8.00</OPTION><OPTION VALUE="9">9.00</OPTION></SELECT>
<INPUT TYPE="RADIO" NAME="/basicForm/shipType"
VALUE="nextDay"> Next Day
<INPUT TYPE="RADIO" CHECKED NAME="/basicForm/shipType"
VALUE="nextWeek"> Next Week