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?
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...?]
4. I see there is a def2binding.xsl file in the /resources
directory - is this used in the sample and, if so, how?
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
--
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]