On Monday 06 August 2007 10:41, Hermann Himmelbauer wrote: > Is there a way simple way to accomplish this? Perhaps via a "hidden=True" > attribute in the buttonAndHandler decorator method?
I would override the ``updateActions()`` method in the form as follows: def updateActions(self): super(MyForm, self).updateActions() self.actions['store'].addClass('hidden') Then have a style: input.hidden { display: None; } Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users