webwork/src/resources/web/template/standard checkbox.jsp,1.12,1.13
[email protected] Mon, 17 Jun 2002 05:49:53 -0700
| Newsgroups | gmane.comp.java.webwork.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/webwork/webwork/src/resources/web/template/standard
In directory usw-pr-cvs1:/tmp/cvs-serv7580
Modified Files:
checkbox.jsp
Log Message:
made it xhtml compliant
Index: checkbox.jsp
===================================================================
RCS file: /cvsroot/webwork/webwork/src/resources/web/template/standard/checkbox.jsp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- checkbox.jsp 20 Apr 2002 11:17:32 -0000 1.12
+++ checkbox.jsp 17 Jun 2002 12:49:51 -0000 1.13
@@ -35,11 +35,11 @@
<%-- Use an extra table so that the checkbox doesn't align with the other columns. --%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td valign="top">
- <input type=checkbox <webwork:if test="parameters['nameValue'] == true">CHECKED</webwork:if>
+ <input type="checkbox" <webwork:if test="parameters['nameValue'] == true">checked="checked"</webwork:if>
name="<webwork:property value="parameters['name']"/>"
value="<webwork:property value="parameters['fieldValue']"/>"
<webwork:property value="parameters['disabled']">
- <webwork:if test="parameters['disabled'] == true">DISABLED</webwork:if>
+ <webwork:if test="parameters['disabled'] == true">disabled="disabled"</webwork:if>
</webwork:property>
<webwork:property value="parameters['tabindex']">
<webwork:if test=".">tabindex="<webwork:property value="."/>"</webwork:if>
@@ -47,7 +47,7 @@
<webwork:property value="parameters['onchange']">
<webwork:if test=".">onchange="<webwork:property value="."/>"</webwork:if>
</webwork:property>
- >
+ />
</td><td width="100%" valign="top">
<webwork:if test="@errmsg">
<span class="checkboxErrorLabel">
_______________________________________________________________
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/