2 Replies Latest reply on Jan 14, 2008 5:16 AM by Ronald van Kuijk

    Dynamic configuration for ActionHandler

    Michael Sorg Newbie

      Hello,

      is ist possible to configure an ActionHandler dynamically? More precisely I want to do something like this:

      .
      .
      .
      <node>
       <event type='node-enter'>
       <script>
       <expression>
       myVar="I am a variable";
       </expression>
       <variable name='myVar' access='write' />
       </script>
       <action class='MyAction'>
       <text>#{myVar}</text>
       </action>
       </event>
       <transition to='end'/>
      </node>
      .
      .
      .
      
      

      Means I want to configure the parameter 'text' of my ActionHandler-object with the value of the variable I set before in the script-tag.
      Unfortunately this approach does not work - the synthax is not valid in this context.
      Is there any possibility to get the desired behaviour?

      Thanks in advance,

      Michael