cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: Cocoon Forms: Javascript API
Date Mon, 14 Apr 2008 13:05:09 GMT
A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/491.html

Document ID: 491
Branch: main
Language: default
Name: Cocoon Forms: Javascript API (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 4/13/08 6:59:05 AM
Updated by: Luca Morandini

A new version has been created, state: draft

Parts
=====

Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 1141 bytes (previous version: 71 bytes)
Content diff:
    <html>
    <body>
    
--- <h1>To be done</h1>
+++ <h1>Javascript API</h1>
    
--- <p>To be done.</p>
+++ <h2>Introduction</h2>
    
+++ <p>TBD</p>
+++ 
+++ <h2>Form handling</h2>
+++ 
+++ <p>TBD</p>
+++ 
+++ <h2>Widget handling</h2>
+++ 
+++ <p>TBD</p>
+++ 
+++ <h2>Reference</h2>
+++ 
+++ <h4>Form(formDef)</h4>
+++ 
+++ <p>Is the Formo object cxontructor.</p>
+++ 
+++ <p><tt>formDef</tt> is the form definition XML, which could be expressed
as an
+++ URI, Source or DOM.</p>
+++ 
+++ <h4>isValid</h4>
+++ 
+++ <p>Set to true if theuser input has successfily passed validation, false
+++ otherwise.</p>
+++ 
+++ <h4>submitId</h4>
+++ 
+++ <p>It is the id of the widget that triggered the form submit (can be null).</p>
+++ 
+++ <h4>locale</h4>
+++ 
+++ <p>The form locale (default locale is used if not set).</p>
+++ 
+++ <h4>getModel()</h4>
+++ 
+++ <p>Returns the form as a Widget Java class.</p>
+++ 
+++ <h4>getChild(id)</h4>
+++ 
+++ <p>Returns a widget (as a Widget Java class) given its id</p>
+++ 
+++ <p><tt>id</tt> widget id.</p>
+++ 
+++ <h4>lookupWidget(path)</h4>
+++ 
+++ <p>Returns a widget (as a Widget Java class) given its path</p>
+++ 
+++ <p><tt>path</tt> widget path.</p>
+++ 
+++ <h4>showForm(uri, viewData, ttl)</h4>
+++ 
+++ <p>Returns a widget (as a Widget Java class) given its path</p>
+++ 
+++ <p><tt>uri</tt> xxx.</p>
+++ 
+++ <p><tt>viewData</tt> xxx.</p>
+++ 
+++ <p><tt>ttl</tt> xxx.</p>
+++ 
    </body>
    </html>


Mime
View raw message