Hello

I have a problem with migration to TAP 4.1.2
previously I'm use some increment operation in template 
(tst="ognl:count=count+1")
              <tr jwcid="tableRows1" 
class="org.apache.tapestry.bean.EvenOdd.next" row="ognl:row" cid="ognl:row.id" 
tst="ognl:count=count+1">
                <td jwcid="tableValues1" align="center"/>
              </tr>
and calculate total display rows

after migration all works, but occur exception:
org.apache.hivemind.ApplicationRuntimeException: Unable to add method void 
set(ognl.OgnlContext, java.lang.Object, java.lang.Object) to class 
$ASTAssign_113c292aa77: [source error] ; is missing
        at 
org.apache.tapestry.enhance.ClassFabImpl.addMethod(ClassFabImpl.java:278)
        at 
org.apache.tapestry.services.impl.HiveMindExpressionCompiler.compileExpression(HiveMindExpressionCompiler.java:214)
        at ognl.OgnlRuntime.compileExpression(OgnlRuntime.java:498)
        at ognl.Ognl.compileExpression(Ognl.java:141)
        at 
org.apache.tapestry.services.impl.ExpressionCacheImpl.parse(ExpressionCacheImpl.java:152)
        at 
org.apache.tapestry.services.impl.ExpressionCacheImpl.getCompiledExpression(ExpressionCacheImpl.java:115)
..........
If i remove calculation attribute tst="ognl:count=count+1" all works
fine


How I can do some operation in template in tap 4.1.2
(increment,calculate... )



-- 
 Sergey                          mailto:[EMAIL PROTECTED]




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

Reply via email to