cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Quenot <...@anyware-tech.com>
Subject Re: [cforms] convenience functions in flowscript event handlers?
Date Tue, 19 Jul 2005 10:27:25 GMT
* Max Pfingsthorn:

> Is there  any way how  I can define those  convenience functions
> (e.g.  lookup(event,'../../some/path'))  once  and use  them  in
> those   flowscript  snippets   in  <fd:on-value-changed/>,   for
> example? Can I  just include them  in the sitemap like  usual or
> are those scripts run in a different context?

Just declare plain flowscript functions  in a script loaded by the
sitemap.
-- 
Jean-Baptiste Quenot
Systèmes d'Information
ANYWARE TECHNOLOGIES
Tel : +33 (0)5 61 00 52 90
Fax : +33 (0)5 61 00 51 46
http://www.anyware-tech.com/

Mime
View raw message