[ http://issues.apache.org/jira/browse/TOMAHAWK-428?page=comments#action_12412109 ]
Vofeka commented on TOMAHAWK-428: --------------------------------- Thanks for your answer Mike, your french is pretty good actually! ;-) I also managed to get the <t:inputCalendar renderAsPopup="true"> tag to work with the myFaces implementation of JSF. That means that I have to switch to myFaces to use the tomahawk Calendar.... even though tomahawk is supposed to be compatible with the JSF RI :-( Do you reckon it's a problem on the Tomahawk side or on the JSF RI side?? > inputCalendar not working with facelets when renderAsPopup="true" > ----------------------------------------------------------------- > > Key: TOMAHAWK-428 > URL: http://issues.apache.org/jira/browse/TOMAHAWK-428 > Project: MyFaces Tomahawk > Type: Bug > Components: Calendar > Versions: 1.1.3-SNAPSHOT > Environment: JSF Sun RI, Tomahawk 1.1.3-snapshot, facelets-1.0.16.jar, > Tomcat 5.5, JDK 1.5 > Reporter: Vofeka > Priority: Blocker > Attachments: tomahawk.taglib.xml > > Getting an exception when trying to render an inputCalendar component with > facelets (facelets is installed correctly and works fine on other pages). > Here is the calendar.jsp page using facelets and the calendar: > <code> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml" > xmlns:ui="http://java.sun.com/jsf/facelets" > xmlns:h="http://java.sun.com/jsf/html" > xmlns:f="http://java.sun.com/jsf/core" > xmlns:t="http://myfaces.apache.org/tomahawk" > > > <ui:composition > > <ui:define name="content"> > <h:form> > <t:inputCalendar renderAsPopup="true"> </t:inputCalendar> > </h:form> > </ui:define> > </ui:composition> > </html> > </code> > I get the following exception: > <code> > SEVERE: Error Rendering View[/web/facelets/calendar.jsp] > java.lang.NullPointerException: Erreur dans les arguments: Un ou plusieurs > paramétres peuvent ''tre nuls. > 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:720) > at > org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:442) > at > org.apache.myfaces.custom.calendar.HtmlCalendarRenderer.encodeEnd(HtmlCalendarRenderer.java:160) > at > javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720) > at > com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242) > at > com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) > at > com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239) > at > com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:577) > at > com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87) > at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200) > at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117) > at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > </code> > If i change the *renderAsPopup to false* then the calendar is rendered > properly.... but I need to get the popup version :-( > Any help would be greatly appreciated. Thanks -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
