From: helge Date: Mon, 7 Mar 2005 16:24:10 +0000 (+0000) Subject: consume multipleSubmit association on WOForm X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b2df88004682c256f7cb79d09b1f946d9d8fa40;p=sope consume multipleSubmit association on WOForm git-svn-id: http://svn.opengroupware.org/SOPE/trunk@626 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/sope-appserver/NGObjWeb/ChangeLog b/sope-appserver/NGObjWeb/ChangeLog index 53856551..68813711 100644 --- a/sope-appserver/NGObjWeb/ChangeLog +++ b/sope-appserver/NGObjWeb/ChangeLog @@ -1,5 +1,8 @@ 2005-03-07 Helge Hess + * DynamicElements/WOForm.m: consume 'multipleSubmit' association for + WO compatibility as requested by Stephane (v4.5.130) + * WOHttpAdaptor/WOHttpAdaptor.m: added the ability to fork multiple child servers listing on the same passive socket. The OS will distribute the load between such processes. Note that this only diff --git a/sope-appserver/NGObjWeb/DynamicElements/WOForm.m b/sope-appserver/NGObjWeb/DynamicElements/WOForm.m index 093ba058..e9e878aa 100644 --- a/sope-appserver/NGObjWeb/DynamicElements/WOForm.m +++ b/sope-appserver/NGObjWeb/DynamicElements/WOForm.m @@ -47,6 +47,7 @@ static int debugTakeValues = -1; if ((self = [super initWithName:_name associations:_config template:_c])) { WOAssociation *sidInUrlAssoc; + id tmp; self->containsForm = YES; @@ -64,6 +65,11 @@ static int debugTakeValues = -1; ? [sidInUrlAssoc boolValueInComponent:nil] : YES; + if ((tmp = OWGetProperty(_config, @"multipleSubmit")) != nil) { + /* not required with SOPE, for WO compatibility */ + [tmp release]; + } + self->template = [_c retain]; } return self; diff --git a/sope-appserver/NGObjWeb/Version b/sope-appserver/NGObjWeb/Version index 23c56cf3..8e4d785c 100644 --- a/sope-appserver/NGObjWeb/Version +++ b/sope-appserver/NGObjWeb/Version @@ -1,6 +1,6 @@ # version file -SUBMINOR_VERSION:=129 +SUBMINOR_VERSION:=130 # v4.5.122 requires libNGExtensions v4.5.153 # v4.5.91 requires libNGExtensions v4.5.134