[Zope] onchange events

Chris McDonough chrism@zope.com
12 Jun 2003 14:02:00 -0400


Actually, there is an example of doing this inside the main.dtml method
within Zope's lib/python/OFS/dtml/main.dtml DTML method:

Search for      ...
onChange="location.href='&dtml-URL1;/'+this.options[this.selectedIndex].value


On Thu, 2003-06-12 at 13:22, Andreas Jung wrote:
> you are talking about stuff that is handled on the client side with 
> Javascript. This has nothing
> to do with DTML since DTML is handled on the server inside Zope.
> 
> -aj
> 
> --On Donnerstag, 12. Juni 2003 17:56 Uhr +0100 garry saddington 
> <garry@joydiv.fsnet.co.uk> wrote:
> 
> > How could a DTML method or python script be fired from the onchange event
> > of a  selection list in a form.
> >
> > thanks
> > garry
> >
> > _______________________________________________
> > Zope maillist  -  Zope@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 )
> 
> 
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@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 )