当我想在 XHTM 页面中打印我的形成对象的其他对象属性的属性时,我得到了一个异常javax.el.ELException: Error reading 'intitule' on type model.Theme
,这是我的代码:
<h:form id="a">
<p:growl id="growl" showDetail="true" sticky="false" />
<p:dataTable var="formationObject"
value="#{formationBean.listformation}" id="AjoutTab"
widgetVar="FormationTable" emptyMessage="Formation non trouvé"
rows="15"
style="width:500px;font-size:13px;margin-left: 0px">
<f:facet name="header">
<p:outputPanel>
<h:outputText value="Recherche:" />
<p:inputText id="globalFilter"
onkeyup="FormationTable.filter()"
style="width:80px ;float:center " />
</p:outputPanel>
</f:facet>
<p:column headerText="Intitule " id="formationRef"
filterBy="#{formationObject.planning}" filterMatchMode=""
footerText=" reférence exacte" width="15px">
<h:outputText value="#{formationObject.planning.intitule}" />
</p:column>
<p:column style="width:4%">
<p:commandButton value="Analyser"
icon="ui-icon-search"
action="#{formationBean.redirectModification()}"
ajax="false" title="Analyser" />
</p:column>
</p:dataTable>
</h:form>