Derek Hohls wrote:
Is it possible to have one "master" flowscript file
which links or includes other "child" flowscript files,
in much the same way as XSL uses the "include" statement?

You could use something like

cocoon.load("resource://org/apache/cocoon/forms/flow/javascript/Form.js");
cocoon.load("context:/app/flow/hibernate.js");


which you would place at the top of your master flowscript file. All the function listed in hibernate.js (for example) are visible in your master file. There would be no need to define the hibernate.js in your sitemap, just for instance

  <map:flow language="javascript">
    <map:script src="flow/your-master-flowscript-file.js"/>
  </map:flow>




If so, how?; if not, what is the best design approach for ensuring a clean design around location of logic
in appropriate places?
Thanks
Derek




--
Andre H. Juffer              | Phone: +358-8-553 1161
The Biocenter and            | Fax: +358-8-553-1141
    the Dep. of Biochemistry | Email: [EMAIL PROTECTED]
University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/

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

Reply via email to