Author: bphillips
Date: Wed Jul 17 13:26:32 2013
New Revision: 1504126
URL: http://svn.apache.org/r1504126
Log:
theme attribute must be on the s:form tag with a value of xhtml and then also
on the s:checkboxlist tag with a value of KUTheme
Modified:
struts/sandbox/trunk/struts2examples/themes/src/main/webapp/edit.jsp
Modified: struts/sandbox/trunk/struts2examples/themes/src/main/webapp/edit.jsp
URL:
http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2examples/themes/src/main/webapp/edit.jsp?rev=1504126&r1=1504125&r2=1504126&view=diff
==============================================================================
--- struts/sandbox/trunk/struts2examples/themes/src/main/webapp/edit.jsp
(original)
+++ struts/sandbox/trunk/struts2examples/themes/src/main/webapp/edit.jsp Wed
Jul 17 13:26:32 2013
@@ -14,14 +14,14 @@
<p>Use the form below to edit your information.</p>
-<s:form action="save" method="post" theme="KUTheme">
+<s:form action="save" method="post" theme="xhtml">
<s:textfield key="personBean.firstName" />
<s:textfield key="personBean.lastName" />
<s:select key="personBean.sport" list="sports" />
<s:radio key="personBean.gender" list="genders" />
<s:select key="personBean.residency" list="states" listKey="stateAbbr"
listValue="stateName" />
<s:checkbox key="personBean.over21" />
-<s:checkboxlist key="personBean.carModels" list="carModelsAvailable" />
+<s:checkboxlist key="personBean.carModels" list="carModelsAvailable"
theme="KUTheme" />
<s:submit key="submit" />
</s:form>