Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.2-SNAPSHOT
-
None
-
myfaces core trunk
Description
When in Develepment stage DebugPhaseListener collects useful information about component tree. But there is a problem with construction like this (example is from a real application based on ADF API) :
<h:dataTable value="#
{queryModel.currentDescriptor.conjunctionCriterion.criterionList}" var="node">
<h:column>
<h:selectOneMenu rendered="#
" value="#
{node.operator}">
<f:selectItems value="#
" />
</h:selectOneMenu>
</h:column>
</h:dataTable>
please note that selectOneMenu is rendered only if node is AttributeCriterion because only AttributeCriterion class has property "operator". But DebugPhaseListener tries to get value for every row in DataTable even it is not rendered - it leads in this case to exception:
javax.el.PropertyNotFoundException: The class 'com.company....ConjunctionCriterion' does not have the property 'operator'