Bruno

Thanks for the brief replies - yes, some things are cleared
up but not all.

1. What is the role/purpose of the "woody2.js" file that you say
is located in the woody/forms jar?   What fucntions does it
contain?  Do I always need to load it??

2. What does the "Form" object look like?

3. What does the getModel() function do?

Thanks
Derek

>>> [EMAIL PROTECTED] 2004/05/10 06:28:22 PM >>>
On Mon, 2004-05-10 at 09:02, Derek Hohls wrote:
> There are some simple things I am failing to understand in
> the creation of forms (Woody) and their interaction with 
> control flow. 
> 
> I have tried to reproduce a stripped down version of the 
> 'registration' sample shown in the WoodySample wiki page 
> (and also  shipped as a sample in Cocoon 2.1.3).  Although it 
> works, there are some areas that unclear, even after perusal 
> of the  wiki notes and re-reading the code.
> 
> 2. I do not understand how the following operates:
>
cocoon.load("resource://org/apache/cocoon/woody/flow/javascript/woody2.js");
> where is this "js" located - a separate file?  what is its 
> purpose?  The "cocoon.load" function is supposed to load
> a script specified by the URI - but how is the above URI
> interpreted?

it loads a resource from the classloader. The js file is part of the
woody/forms jar

> 
> 3.  Where is the object "Form" that appears in:
> var form = new Form("forms/registration.xml");
> defined?  [This object, I assume, also contains the getModel()
> function, whose role is also unclear...?]

in the above mentioned js file

> 
> 4. I see there is a def2binding.xsl file in the /resources
> directory - is this used in the sample and, if so, how?  

no, it isn't used.

short answers, hope it's clear.

> and for what reason?
> 
> 
> I am sure all of this is meant to be obvious, but right
> now I am floundering and would appreciate any insights!
> 
> Thanks
> Derek
-- 
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] 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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

Reply via email to