Hi,
I am having a mind-numbingly frustrating issue with inputCalendar. Hooked
up to a bean with a null date, I am getting a NullPointerException (I am
assuming, of course, that the tag can/should handle it - am I wrong?)
My tag ...
<t:inputCalendar renderPopupButtonAsImage="true" renderAsPopup="true"
value="#{bean.my_date}" />
The exception ...
ERROR 19/04/07 12:04 (ApplicationDispatcher.java:704) - Servlet.service()
for servlet jsp threw exception
java.lang.NullPointerException: Argument Error: One or more parameters are
null.
at com.sun.faces.renderkit.html_basic.HtmlResponseWriter.writeAttribute(
HtmlResponseWriter.java:240)
at
org.apache.myfaces.custom.inputTextHelp.HtmlTextHelpRenderer.renderInputTextHelp
(HtmlTextHelpRenderer.java:93)
at
org.apache.myfaces.custom.inputTextHelp.HtmlTextHelpRenderer.renderNormal(
HtmlTextHelpRenderer.java:48)
at org.apache.myfaces.renderkit.html.ext.HtmlTextRenderer.encodeEnd(
HtmlTextRenderer.java:80)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:712)
....
If the date is non-null everything is fine. If I save a blank date or just
read a blank date from the db, I get the error. As you can see, I am using
the Sun jsf implementation with Tomahawk. Should I abandon Sun and go with
MyFaces implementation?