0

I am working with jdev 12c and jdk 8. When I bind the table on jsf page to a managed bean property it disappears from the page and when I remove the binding to the manged bean property it appears. So can you help me please to solve this problem.

The jsf code is :

              <af:table value="#{bindings.RefObligationVO2.collectionModel}"

              var="row" autoHeightRows="10"

                         rows="#{bindings.RefObligationVO2.rangeSize}"

                               emptyText="#{bindings.RefObligationVO2.viewable ? raficviewBundle.NO_DATA_TO_DISP : raficviewBundle.ACCES_DENIED}"

                               rowBandingInterval="0"

                               selectedRowKeys="#{bindings.RefObligationVO2.collectionModel.selectedRow}"

                               selectionListener="#{bindings.RefObligationVO2.collectionModel.makeCurrent}"

                               rowSelection="single"

                               fetchSize="#{bindings.RefObligationVO2.rangeSize}"
                               
                               filterModel="#{bindings.RefObligationVO2Query.queryDescriptor}"

                               filterVisible="true"

                               queryListener="#{bindings.RefObligationVO2Query.processQuery}"

                               varStatus="vs" id="t5" contentDelivery="immediate"

                               immediate="true"

                             columnStretching="column:c22"

                               styleClass="AFStretchWidth"

                              binding="#{GestionObligationBean.tableBind}">

The manged bean code is :

public class GestionObligationBean {

private RichTable tableBind;

public void setTableBind(RichTable tableBind) {

   this.tableBind = tableBind;

}
public RichTable getTableBind() {

return tableBind;

}

The adfc-config code is:

<managed-bean-name>GestionObligationBean</managed-bean-name>

<managed-bean-class>bean.bean.GestionObligationBean</managed-bean-class>

<managed-bean-scope>session</managed-bean-scope>
Arthor
  • 11
  • 1
  • 3

0 Answers0