cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: Documentation for the available JavaScript functions, especially Flows and Forms
Date Thu, 14 Sep 2006 08:15:33 GMT
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
bruno@outerthought.org                          bruno@apache.org


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


Mime
View raw message