Hi,
I converted my flowscript code to javaflow.  I'm curious about my form
definitions where I have validation in javascript.  For instance I had
this:

<fd:form xmlns:fd="http://apache.org/cocoon/forms/1.0#definition";>
  <fd:widgets>
    <fd:field id="raSearch">
      <fd:label>RA# Search:</fd:label>
      <fd:datatype base="string"/>
      <fd:on-value-changed>
        <javascript>
          cocoon.log.error("raSearch changed");

But with the javaflow conversion, I get this output:
java.lang.RuntimeException: ReferenceError: "cocoon" is not defined.

Should I be converting this javascript to javaflow as well, or should
I just not use the cocoon object?

Thanks,
Ben

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

Reply via email to