I've that code :                                                      
<dtml-let TEST="'dir'">                                               
<dtml-in "portal_catalog.searchResults(Type='Cas clinique',           
review_state='published', sort_on='Date', sort_order='reverse')"      
size=1 end=1>                                                         
 <dtml-var id>                                                        
<script type="text/javascript">                                       
var image   = 0;                                                      
var delai   = 2000;                                                   
var icone   = new Array ();                                           
var lelien  = '';                                                     
var max     =  <dtml-var                                              
"compte_images(repertoire='/uv/web/cnr/cas/&TEST;',prefixe='Ima-') -  
I need to get the value returned by the <dtml-var id> in the function 
called "compte_images" and in some others later in the code.          
My question : I need something like a global variable, that I may use 
here and there.                                                       
But, infortunately, I don't know how to write it.                     
Anyone knows it ?                                                     
Thank you                                                             
Oreka ! Nous sommes l'internet moins cher !                           
Surfez 25% moins cher avec http://www.oreka.com                       

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to