Hi,

thanks for the replies, A & A, but if I have the data stored in
javascript vars in the flowscript, can I not simply point to these in
the binding as suggested in

http://cocoon.apache.org/2.1/userdocs/forms/binding.html

by the following snippet;

<fb:javascript id="foo" path="@foo">
  <fb:load-form>
    var appValue = jxpathPointer.getValue();
    var formValue = doLoadConversion(appValue);
    widget.setValue(formValue);
  </fb:load-form>
</fb:javascript>

?

I may be interpreting this wrongly, but I'm taking @foo to be a var in
the flowscript. So what I need to know is how to point the surrounding
context element to the relevant function in the flowscript?

<fb:context path="flowscript_function">
   <fb:javascript>
        .
        .
   </fb:javascript>
</fb:context>

Am I way off course here!

Greg

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

Reply via email to