Am Donnerstag, 9. August 2007 04:08 schrieb Stephan Richter:
> 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;
> }

Great idea! This works out nicely! Thanks!

Best Regards,
Hermann


-- 
[EMAIL PROTECTED]
GPG key ID: 299893C7 (on keyservers)
FP: 0124 2584 8809 EF2A DBF9  4902 64B4 D16B 2998 93C7
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to