Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7
-
None
-
Tapestry 4.1.2
Description
The following template fails to execute in the latest tapestry snapshot
<span jwcid="ognl:getCell(column,row).fareType.name()+'_icone' "/>
The java code of the page defining the method :
public ThreeDPricingElement getCell(int column, int row)
{ return ThreeDPricingElement.test }ThreeDPricingElement is an enum
and the .page contains the following elements:
<property-specification name="row" type="int" persistent="no"/>
<property-specification name="column" type="int" persistent="no"/>
Tapestry fails evaluating and returns the following error
target is null for method getColumn
org.apache.tapestry.BindingException
Unable to read OGNL expression '<parsed OGNL expression>' of $ThreeDPricing_2135@3c1[ThreeDPricing]: target is null for method getColumn
binding: ExpressionBinding[ThreeDPricing getCell(getColumn(),row).fareType.name()+'_icone'