Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3107

error when using @DependsOn

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.2
    • 8.0.1
    • Databind 2
    • Security Level: Jimmy
    • None
    • ZK 8.0.2 S1

      running the attached example in ZK8 produces an error while handling the @DependsOn annotation:

      org.zkoss.zel.ELException: Failed to parse the expression [${.name}]
      	at org.zkoss.zel.impl.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:141)
      	at org.zkoss.zel.impl.lang.ExpressionBuilder.build(ExpressionBuilder.java:167)
      	at org.zkoss.zkmax.bind.impl.BindExpressionBuilderEx.createValueExpression(BindExpressionBuilderEx.java:224)
      	at org.zkoss.zel.impl.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:66)
      	at org.zkoss.zkmax.bind.impl.BindXelFactoryEx.parseExpression(BindXelFactoryEx.java:32)
      	at org.zkoss.zkmax.bind.impl.BindEvaluatorXImplEx.init(BindEvaluatorXImplEx.java:81)
      	at org.zkoss.zkmax.bind.impl.BindEvaluatorXImplEx.access$000(BindEvaluatorXImplEx.java:45)
      	at org.zkoss.zkmax.bind.impl.BindEvaluatorXImplEx$LazyBindXelExpression.getValueExpression(BindEvaluatorXImplEx.java:129)
      	at org.zkoss.zkmax.bind.impl.BindEvaluatorXImplEx$LazyBindXelExpression.evaluate(BindEvaluatorXImplEx.java:124)
      	at org.zkoss.bind.impl.BindEvaluatorXImpl.getValue(BindEvaluatorXImpl.java:47)
      	at org.zkoss.bind.xel.zel.BindELContext.addDependsOnTracking(BindELContext.java:348)
      	at org.zkoss.bind.xel.zel.BindELContext.addDependsOnTracking(BindELContext.java:325)
      ...
      

            DevChu DevChu
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day
                1d