Jim Fulton wrote:

Currently, if you have an action defined with a label that
is not an identifier:

  @form.action(_("Return for changes"))
  def return_for_changes(form, action):

The submit button name will be converted to hex
(e.g. form.actions.52657475726e20666f72206368616e676573).

I propose that we use the action handler name instead
(e.g. form.actions.return_for_changes).

Gary pointed out to me that I should clarify that I
propose to use the handler name regardless of whether the
label is an identifier.

Also note that you will be able, as you are now, to
provide a name explicitly:

  @form.action(_("Return for changes"), name='return')
  def return_for_changes(form, action):


Jim Fulton           mailto:[EMAIL PROTECTED]       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to