Simon Kitching wrote:
Hi,
In directory tomahawk/test, the class
org.apache.myfaces.custom.date.HtmlDateRenderCactus
currently fails to compile.
Command "ant unit-test" will show this, but not "ant dist".
r332339 (fix for MYFACES-238) for class HtmlInputDate appears to have
caused this problem.
There's also a compilation problem in
org.apache.myfaces.custom.date.HtmlDateRenderer
method
encodeAmpmChoice
line 211.
The code:
writer.writeAttribute(HTML.VALUE_ATTR, calendar_ampm, null);
only compiles under java 1.5, as the second param to writeAttribute
takes an Object (java 1.5 autoboxing makes this work).
Regards,
Simon