myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarinsc...@apache.org
Subject svn commit: r332473 - /myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/date/HtmlDateRenderer.java
Date Fri, 11 Nov 2005 06:40:43 GMT
Author: mmarinschek
Date: Thu Nov 10 22:40:40 2005
New Revision: 332473

URL: http://svn.apache.org/viewcvs?rev=332473&view=rev
Log:
fixing build problem - thanks Simon

Modified:
    myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/date/HtmlDateRenderer.java

Modified: myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/date/HtmlDateRenderer.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/date/HtmlDateRenderer.java?rev=332473&r1=332472&r2=332473&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/date/HtmlDateRenderer.java (original)
+++ myfaces/tomahawk/trunk/src/java/org/apache/myfaces/custom/date/HtmlDateRenderer.java Thu
Nov 10 22:40:40 2005
@@ -208,7 +208,7 @@
     	String[] ampm_choices = symbols.getAmPmStrings();
         writer.write("\t\t");
         writer.startElement(HTML.OPTION_ELEM, uiComponent);
-        writer.writeAttribute(HTML.VALUE_ATTR, calendar_ampm, null);
+        writer.writeAttribute(HTML.VALUE_ATTR, new Integer(calendar_ampm), null);
         if (calendar_ampm == selected)
             writer.writeAttribute(HTML.SELECTED_ATTR, HTML.SELECTED_ATTR, null);
         writer.writeText(ampm_choices[calendar_ampm], null);



Mime
View raw message