On Wed, 2006-09-13 at 23:05 +0200, Dev at weitling wrote:
> Hi!
> 
> Is there a documentation available about the javascript routines used in 
> Flows and Forms? The hint looking at the JavaScript sources is imho not 
> really helpful, because they are rather complex.

The javascript layer is very thin, it's just one file, and the most
important functions are all documented:
http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-forms/cocoon-forms-impl/src/main/resources/org/apache/cocoon/forms/flow/javascript/Form.js?revision=414691&view=markup

If you do form.getWidget() on the javascript form object, you get the
Java form object, for which you can browse the javadocs:
http://cocoon.apache.org/2.1/apidocs/index.html

(see package org.apache.cocoon.forms and subpackages).

Some introductary material on this would be helpful indeed, but the
above together with the samples should get you started.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
[EMAIL PROTECTED]                          [EMAIL PROTECTED]


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

Reply via email to