[Zope] documentation about the ":method"

Manuel Spuhler manuel.spuhler at gmail.com
Wed Feb 7 13:50:34 EST 2007


Hi Marco,

thanks for your input. What I can't understand is that in some case
the string before the ":method" is the id of the current template, so
I have "current_template:method"  and 'current_template' is a page
template, not a method, that's why I don't get it.

regards

M.

2007/2/7, Marco Bizzarri <marco.bizzarri at gmail.com>:
> On 2/7/07, Manuel Spuhler <manuel.spuhler at gmail.com> wrote:
> > Hello,
> >
> > I posted this question in the Plone-Users List, but it might be more a
> > Zope stuff.
> >
> > I am looking for some documentation about the ":method" used in some
> > forms, for instance  name="discussion_reply:method", but can't find anything.
> >
> > Thanks for any pointers
> >
> > Manuel Spuhler
>
> I can't provide pointers, but can share what I understand about it.
>
> If the user clicks on an input submit with the name "testMethod:method", the
> testMethod will be invoked instead of the action of your form.
>
> So, in your example, if you click on the discussion_reply, the discussion_reply
> method/script will be called instead.
>
> Regards
> Marco
> --
> Marco Bizzarri
> http://iliveinpisa.blogspot.com/
>


-- 
Manuel Spuhler

Développeur Web -  www.rsr.ch
Radio Suisse Romande
30, av. Temple
CH - 1010 Lausanne

Mail: manuel.spuhler at rsr.ch
Phone: +41 21 318 60 86


More information about the Zope mailing list