rleland 2003/10/30 22:10:17 Modified: src/validator/org/apache/struts/webapp/validator ApplicationResources.properties TypeForm.java Log: Bug 24202 Add required check for single checkbox, Bug report/patch by Saul Q Yuan Revision Changes Path 1.6 +1 -0 jakarta-struts/src/validator/org/apache/struts/webapp/validator/ApplicationResources.properties Index: ApplicationResources.properties =================================================================== RCS file: /home/cvs/jakarta-struts/src/validator/org/apache/struts/webapp/validator/ApplicationResources.properties,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- ApplicationResources.properties 24 Sep 2003 03:42:03 -0000 1.5 +++ ApplicationResources.properties 31 Oct 2003 06:10:17 -0000 1.6 @@ -56,6 +56,7 @@ # Type form typeForm.byte.displayname=Byte Field +typeForm.checkbox.wouldrecommend=I would recommend typeForm.checkbox.used.languages=Programming Languages used typeForm.creditCard.displayname=Credit Card typeForm.date.displayname=Date Field 1.6 +12 -3 jakarta-struts/src/validator/org/apache/struts/webapp/validator/TypeForm.java Index: TypeForm.java =================================================================== RCS file: /home/cvs/jakarta-struts/src/validator/org/apache/struts/webapp/validator/TypeForm.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- TypeForm.java 24 Sep 2003 03:42:03 -0000 1.5 +++ TypeForm.java 31 Oct 2003 06:10:17 -0000 1.6 @@ -90,6 +90,7 @@ private String sSatisfaction = null; private String[] sOsList = null; private String sOverallSatisfaction = null; + private String sWouldRecommend = null; private String[] sUsedLanguages = null; private List lNames = initNames(); @@ -204,6 +205,14 @@ public void setOverallSatisfaction(String anOverallSatisfaction) { this.sOverallSatisfaction = anOverallSatisfaction; + } + + public String getWouldRecommend() { + return sWouldRecommend; + } + + public void setWouldRecommend(String anWouldRecommend) { + this.sWouldRecommend = anWouldRecommend; } public String[] getUsedLanguages() {
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]