jsf 2.2 - Composite Component Binding is resolves to null -


i trying bind composite component ajax listener bind variable resolves null. if use bind variable part of body, eg. #{bind} resolve properly. assume bug, second opinion before report it. thanks

page:

 <html xmlns="http://www.w3.org/1999/xhtml"         xmlns:f="http://xmlns.jcp.org/jsf/core"         xmlns:h="http://xmlns.jcp.org/jsf/html"         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"         xmlns:composite="http://xmlns.jcp.org/jsf/composite"         xmlns:jstl="http://xmlns.jcp.org/jsp/jstl/core"         xmlns:jfunc="http://xmlns.jcp.org/jsp/jstl/functions"         xmlns:jid1="http://mydomain.com/facelets">  <h:head></h:head> <h:body>     <h:form id="commentboxform">         <jid1:confirmmodal title="t" cssid="a" binding="#{bind}">             </jid1:confirmmodal>              <h:commandlink value="click">                 <f:ajax execute="@this" render="@form"                     listener="#{bind.getfamily()}" />             </h:commandlink>     </h:form> </h:body> </html> 

component:

<ui:composition xmlns="http://www.w3.org/1999/xhtml"         xmlns:f="http://xmlns.jcp.org/jsf/core"         xmlns:h="http://xmlns.jcp.org/jsf/html"         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"         xmlns:composite="http://xmlns.jcp.org/jsf/composite"         xmlns:jstl="http://xmlns.jcp.org/jsp/jstl/core"         xmlns:jfunc="http://xmlns.jcp.org/jsp/jstl/functions"         xmlns:jid1="http://mydomain.com/facelets">          <composite:interface>             <composite:attribute name="cssid" required="true" />             <composite:attribute name="title" required="true" />         </composite:interface>          <composite:implementation>              <h:panelgroup >                 ......             </h:panelgroup>          </composite:implementation>     </ui:composition> 

this bug. see here details.

a composite component binding attribute not work ajax calls.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -