You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Racer X <sh...@alter.org> on 2004/08/16 23:04:46 UTC

problems with woody & wb:javascript

Hi,

I am a developer on a fairly large webapp that uses Woody for forms
processing.  I am trying to get one of the forms working, but I get the
following error:

Cannot build binding at
file:/C:/build/webapp/forms/registration/binding.xml:21:36

cause: java.lang.ClassCastException

The relevant part of binding.xml looks like:
(this is test code, real code is similar)

<wb:javascript id="foo" path=".">
    <wb:load-form>
    </wb:load-form>
    <wb:save-form>
    </wb:save-form>
  </wb:javascript>

I have narrowed it down to the use of <wb:javascript>.  If I comment out
all the <wb:javascript> elements in binding.xml, it works fine and
processes my form correctly.  Any ideas?

I am running on Win32 under Jetty.

Thanks-
Judd

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org