jsf - setPropertyActionListener not fired the setter method of target -


<f:setpropertyactionlistener> not call setter method of target object when have <h:inputtext> in jsf page triggered when interchange h:inputtext <h:outputtext> , values loading properly. amused behavior of <h:inputtext>. here code

index.xhtml

<p:row>     <p:column><p:outputlabel value="id"/></p:column>     <p:column ><h:inputtext  value="#{bean.obj.innerobj.id}"/></p:column> </p:row>  <p:commandbutton update=":form:detail"                   oncomplete="pf('dialog').show()"                  icon="ui-icon-search"                  title="view">      <f:setpropertyactionlistener value="#{detail}"                                  target="#{bean.obj}" /> </p:commandbutton> 

bean.java

public obj getobj() {     return obj; }  public void setobj(obj pobj) {    this.obj = pobj; } 

i don't believe there issue bean.java setter method called when have <h:outputtext> in index.xhtml.


Comments