2 Replies Latest reply: Jan 25, 2018 5:31 AM by Josefine Stål RSS

    GetLayout method doesn't calculate the expressions

    Christoph Albrecht

      I am using server side extension for Java. Everything is working fine. When I am selecting any field e.g. in a table, every expression is calculating new values and the new values are displayed.


      Now I want to trigger the evaluation manually e.g. via a button. I have a expression like this javaPlugin.getRandomNumber([num]). So every time the expression is called, the Java plugin returns random numbers based on the input numbers.


      The following communication description says, that the evaluation of the expressions are triggered by the GetLayout method:




      But when I am calling this method via a button, the calculation is not triggered. Does anybody now holw to trigger the evaluation with client side JavaScript code?


      Thanks for helping me!