You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ben Anderson <be...@gmail.com> on 2005/07/06 00:04:58 UTC
javaflow
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org