[Zope-dev] How To Trap Event

2005-03-08 Thread Arvind Sidhaye

 
Hi
Fowwloing the code in DTML-Methode
INPUT TYPE=BUTTON >
But I am not able to call CAREA which Script(python)
Please help me.

Thanks
Arvind Sidhaye




___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] How To Trap Event

2005-03-08 Thread Paul Winkler
On Wed, Mar 09, 2005 at 06:32:57AM -, Arvind Sidhaye wrote:
  ?
 Hi
 Fowwloing the code in DTML-Methode
 INPUT TYPE=BUTTON OnClick=(CAREA(this.form))
 But I am not able to call CAREA which Script(python)
 Please help me.

I'm not sure if I understand.  CAREA is a Script (Python)?

If so, you are confusing server-side scripts and client-side
scripts.  

Script (Python) is server-side code.

OnClick target can only be client-side script such as
Javascript.  

Maybe instead, you want to use input type=submit
and form action=CAREA or something like that.

-- 

Paul Winkler
http://www.slinkp.com
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )