Yes, the listener is also defined in the tlds. I wouldn't have
thought to point you there first, though.
So the problem is that t:inputCalendar isn't compatible with JSF RI
1.1? That too bad. Please open a Tomahawk JIRA issue on that.
On 4/19/07, Jack Terranova <[EMAIL PROTECTED]> wrote:
Cool. Thanks, Mike.
Actually the issue was apparently the tld's. I made hard Sun copies of them
and pointed my taglibs to them locally. I swapped those out for myfaces
tlds and it worked.
AND the inputCalendar works beautifully!
Thanks!
On 19/04/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> You've probably left the listener for the JSF RI in your web.xml file.
> You'll want to comment it out.
>
> You'll also need to add the MyFaces Core dependences. Problem
> something along these lines:
>
> commons-beanutils
> commons-codec
> commons-collections
> commons-digester
>
> Might need these for jsp:
>
> commons-el
> jstl
> standard
>
> On 4/19/07, Jack Terranova < [EMAIL PROTECTED]> wrote:
> > Thanks for the response!
> >
> > Sorry to ask an unrelated question then ... I've tried switching to
MyFaces
> > by swapping out jsf-api and jsf-impl with the myfaces versions. I take
it
> > that it's not that simple.
> >
> > I am getting java.lang.ClassNotFoundException:
> > com.sun.faces.config.ConfigureListener.
> >
> >
> > On 19/04/07, Mike Kienenberger < [EMAIL PROTECTED]> wrote:
> > > The JSF RI 1.1 has poor error reporting. This makes it difficult to
> > > figure out the real problem sometimes. At minimum, you might want to
> > > at least try running it against MyFaces Core. That doesn't mean you
> > > can't switch back to JSF RI once you've determined the problem.
> > >
> > > I've had no issues with using inputCalendar pointing to a null backing
> > > bean date.
> > >
> > >
> > > On 4/19/07, Jack Terranova <[EMAIL PROTECTED]> wrote:
> > > > 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?
> > > >
> > > >
> > >
> >
> >
>