[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-661) s:selectDate dynamic for-id in facelets

Bram Biesbrouck (JIRA) jira-events at jboss.com
Tue Jan 16 05:49:52 EST 2007


s:selectDate dynamic for-id in facelets
---------------------------------------

                 Key: JBSEAM-661
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-661
             Project: JBoss Seam
          Issue Type: Bug
          Components: JSF
    Affects Versions: 1.1.0.GA
            Reporter: Bram Biesbrouck


If I use s:selectDate in a facelets-template, with a "dynamic" component-id in the "for" attribute (set by <ui:param name="id" value="theComponenetId" />), I get an exception:
java.lang.NullPointerException: expr
        at javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java:387)
        at org.jboss.seam.ui.SelectDate.encodeBegin(SelectDate.java:63)
        at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:232)
        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:580)
        at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
        at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:222)
        at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j
        ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list