[Zope] javascript vars in dtml

Dragos Chirila d.chirila at finsiel.ro
Fri Feb 25 06:57:33 EST 2005


it is *not* possible.. DTML is server side scripting, javascript is 
client side scripting.

dragos


cla wrote:
> Hi!
> 
> i would like to know if its possible
> to pass javascript variables to dtlm methods.
> 
> for example:
> <script type="text/javascript">
> 
> function general(){
> 
> var t="hello"
> 
> /* here is the problem until now
> within dtml the they dont recognize
> the t var */
> 
> <dtml-in "func(t)">
> ...
> </dtml-in>
> 
> 
> }
> 
> 
> 
> </script>
> 
> thanks
> 
> 
> 
> 
> 
> O SAPO já está livre de vírus com a Panda Software, fique você também!
> Clique em: http://antivirus.sapo.pt
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
> 



More information about the Zope mailing list