cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@cbim.it>
Subject Re: [Flow]: Modularizing flow scripts
Date Wed, 08 Jan 2003 21:29:35 GMT
Ovidiu Predescu wrote:
> The safest thing to do right now though is to split your code among 
> multiple JS files and include them all in the sitemap:
> 
>   <map:flow language="JavaScript">
>       <map:script src="script1.js"/>
>       <map:script src="script2.js"/>
>       <map:script src="script3.js"/>
>       <map:script src="script4.js"/>
>   </map:flow>
> 
> This should work just fine.

AHA! I was under the impression that you could list at most one script 
file in the sitemap. If this works, I think it's a much better solution 
than using cocoon.load.

	Ugo

-- 
Ugo Cei - http://www.beblogging.com/blog/



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message