Re: [Zope3-Users] default text for dropdown widget empty selection

2007-01-08 Thread Stephan Richter
On Tuesday 02 January 2007 14:10, Roy Mathew wrote: Currently, the builtin dropdown widgets show the string '(no value)' as the empty default. Is it possible to show different text in its place? Yes, you have three choices: 1. Provide a translation for English to change it globally. 2.

Re: [Zope3-Users] default text for dropdown widget empty selection

2007-01-02 Thread Dennis Schulz
You can override the setupWidgets() method of your formlib class and write something like this. (assuming that project is your dropdown field and your view is called MyAddingView) def setUpWidgets(self, ignore_request=False): super(MyAddingView,