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

Norman Richards (JIRA) jira-events at jboss.com
Thu Feb 1 02:35:19 EST 2007


     [ http://jira.jboss.com/jira/browse/JBSEAM-661?page=all ]

Norman Richards closed JBSEAM-661.
----------------------------------

    Fix Version/s: 1.1.6
       Resolution: Done

Fixed.  You can now use for="#{...}" with selectDate.

> 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
>         Assigned To: Norman Richards
>             Fix For: 1.1.6
>
>
> 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