Hi all,
I have an edit form:
class claimEditForm(form.EditForm):
form_fields = form.Fields(Iclaim).omit('__name__', '__parent__')
@form.action(_(MyApply), condition=form.haveInputWidgets)
def handle_edit_action(self, action, data):
if self.context.modify(data):
Once more, with formatting:
Hi all,
I have an edit form:
class claimEditForm(form.EditForm):
form_fields = form.Fields(Iclaim).omit('__name__', '__parent__')
@form.action(_("MyApply"), condition=form.haveInputWidgets)
def handle_edit_action(self, action, data):
if
Am Mittwoch, 27. Dezember 2006 21:42 schrieb Jürgen Kartnaller:
Florian Lindner wrote:
Am Mittwoch, 27. Dezember 2006 19:15 schrieb Jürgen Kartnaller:
component.provideUtility for a global utility.
I've found that.
See zope.component.interfaces.IComponentRegistrationConvenience
Hi all,
I have an object which when editing, checks for some attributes in the
parents containing folder by using the following type of code: (this is
called during a form.Editform call)
def _completeValues(self):
if self.a is None and self.__parent__.def_c == self.c: