Standalone Button in ControlPanelForm
Christian Klinger
cklinger at novareto.de
Fri Aug 31 14:30:37 UTC 2007
Hi,
i try to make a ControlPanelForm with FormFieldsets.
Everything works nice so far.
Now i try to make a Standalone Button in one of my Fieldsets.
(Something like the "Restart Button" in @@maintenance-controlpanel.
If i try to add the button like this:
-------------------------------------------------------------------
class SolrControlPanel(ControlPanelForm):
form_fields = FormFieldsets(solrcontrol, solrfields,)
form_fields['solrfields'].custom_widget=combination_widget
# @form.action(_(u'Delete all Plone Entries'), validator=null_validator,)
# def handle_shutdown_action(self, action, data):
-------------------------------------------------------------------
the other buttons (Save,..) are no more rendered.
Only the "Delete all Plone Entries" Button is rendered.
Any Ideas
thx
Christian
More information about the Product-Developers
mailing list