A fix can probably be made later tonight if you file an issue here:

http://jira.opensymphony.com/browse/OGNL


On 5/2/07, Lionel Touati <[EMAIL PROTECTED]> wrote:

 Hi All,

I'm still having issues with OGNL with the latest OGNL / TAP ( out of SVN)
combination. This simple invocation for example:

ognl:getCell(column,row).fareType.name()+'_icone'

always fails with the following exception

nable to read OGNL expression '<parsed OGNL expression>' of
[EMAIL PROTECTED]: target is null for method getColumn
org.apache.tapestry.BindingException  Unable to read OGNL expression
'<parsed OGNL expression>' of [EMAIL PROTECTED]: target
is null for method getColumn  binding: ExpressionBinding[ThreeDPricing
getCell(getColumn(),row).fareType.name()+'_icone'] location: 
context:/WEB-INF/travel/air/ThreeDPricing.html,
line 125
  120 <span jwcid="@If" condition="ognl:getCell(column,row)!=null">  121 <span
jwcid="@If" condition="ognl:!isPublicFare(getCell(column,row))">  122 <td
width="ognl: @[EMAIL PROTECTED](20 / columns.length) + '%'"
valign="top" class="ognl:getTdClass(getCell(column,row)) + '_price'"
jwcid="@Any" >  123 <table width="100%" heigh="100%">  124 <tr>  125 <td
jwcid="@Any" id="ognl:getCell(getColumn(),row).fareType.name()+'_icone'">
126 <span jwcid="@If"
condition="ognl:getCell(column,row).fareType.name().equals('TARIF_EXPEDIA')">
127 <span jwcid="@egencia:ToolTip" block="ognl:components.expediaToolTip"
color="#FFF9D0">  128 <span key="threedpricing_expedia_fare"/>  129
</span>  130 </span>       [ +/- ] 
Exception:<http://ltxpltouati/app?service=page&page=ThreeDPricing&e_ts=1178119160499>Unable to 
read OGNL expression '<parsed OGNL expression>' of
[EMAIL PROTECTED]: target is null for method getColumn


My guess, is that the HivemindExpressionCompiler can't figure out that the
method needs to be invoked on the component and it fails miserabily. Any
idea of when this can be fixed ?

Thx


 --------------------------------------------------------------------- To
unsubscribe, e-mail: [EMAIL PROTECTED] For additional
commands, e-mail: [EMAIL PROTECTED]




--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

Reply via email to