Linking/including mutiple flowscript files

2005-10-14 Thread Derek Hohls
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? If so, how?; if not, what is the best design approach for ensuring a clean design around location of logic in appropriate places?

Re: Linking/including mutiple flowscript files

2005-10-14 Thread Leszek Gawron
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? If so, how?; if not, what is the best design approach for ensuring a clean design around location of logic in

Re: Linking/including mutiple flowscript files

2005-10-14 Thread Andre Juffer
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);

Re: Linking/including mutiple flowscript files

2005-10-14 Thread Derek Hohls
Thanks Andre! I assume any changes to file such as "hibernate.js" would immediately show up in the master flowscript? [EMAIL PROTECTED] 2005/10/14 12:28:16 PM Derek Hohls wrote: Is it possible to have one "master" flowscript file which links or includes other "child" flowscript files, in much

Re: Linking/including mutiple flowscript files

2005-10-14 Thread Upayavira
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? If so, how?; if not, what is the best design approach for ensuring a clean design around location of logic

Re: Linking/including mutiple flowscript files

2005-10-14 Thread Sylvain Wallez
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? If so, how?; if not, what is the best design approach for ensuring a clean design around location of logic in

Re: Linking/including mutiple flowscript files

2005-10-14 Thread Jean-Baptiste Quenot
* Leszek Gawron: Derek Hohls wrote: Is it possible to have one master flowscript file which links or includes other child flowscript files, you can use cocoon.load( scriptUri ) in your main script e.g.: cocoon.load(...Form.js); I have a feeling there are some caching issues with

Re: Linking/including mutiple flowscript files

2005-10-14 Thread Andre Juffer
Derek Hohls wrote: Thanks Andre! I assume any changes to file such as hibernate.js would immediately show up in the master flowscript? Yes, it should. [EMAIL PROTECTED] 2005/10/14 12:28:16 PM Derek Hohls wrote: Is it possible to have one master flowscript file which links or