Great, good to know, thank you, will make things much "cleaner".
Paul
On 10/5/2012 7:40 AM, Javier Puerto wrote:
Hi Paul,
I can tell you for 2.2 version, but you can try...
2012/10/5 Paul Joseph <[email protected] <mailto:[email protected]>>
Hi there,
I have a flowscript that has a lot of functiofnality (functions).
It is possible for one sitemap to handle more than one flowscript?
That way I can split this file out into smaller units associated
with the submenus.
We had the same issue. You can load more than one script, also if I
remember correctly, you can use functions defined in the same
sitemap.xmap. Like a web page, the declaration order is important.
<map:flow language="javascript">
<map:script src="flow/utils.js" />
<map:script src="flow/script1.js" />
<map:script src="flow/script2.js" />
...
<map:script src="flow/scriptN.js" />
</map:flow>
(Cocoon 2.1.11, Apache Tomcat 7, Windows 2008)
brgds
Paul
Salu2
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
<mailto:[email protected]>
For additional commands, e-mail: [email protected]
<mailto:[email protected]>