2004-10-11 Helge Hess <helge.hess@opengroupware.org>
+ * SoObjects/SoObjCClass.m: fixed a bug in "Action" selector processing
+ (v4.3.62)
+
* v4.3.61
* SoObjects/product.plist: properly export SoActionInvocation
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#include "WOHTMLDynamicElement.h"
sComponent = [_ctx component];
hide = [self->hideInComment boolValueInComponent:sComponent];
-
+
WOResponse_AddCString(_response, "<script language=\"JavaScript\" ");
/* add URL to script */
/*
- Copyright (C) 2000-2003 SKYRIX Software AG
+ Copyright (C) 2000-2004 SKYRIX Software AG
- This file is part of OGo
+ This file is part of OpenGroupware.org.
OGo is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#include <NGObjWeb/WODynamicElement.h>
#include "WOElement+private.h"
/* description */
- (NSString *)associationDescription {
- NSMutableString *str = [NSMutableString stringWithCapacity:24];
+ NSMutableString *str;
+
+ str = [NSMutableString stringWithCapacity:24];
if (self->list) [str appendFormat:@" list=%@", self->list];
if (self->item) [str appendFormat:@" item=%@", self->item];
if (self->template) [str appendFormat:@" template=%@", self->template];
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
+// $Id: SoObjCClass.m 1 2004-08-20 10:08:27Z znek $
#include "SoObjCClass.h"
#include "SoSelectorInvocation.h"
r = [methodName rangeOfString:@"Action"];
if (r.length == 0) continue;
+ /* eg: doItAction:abc: => doItAction */
methodPrefix = [methodName substringToIndex:(r.location + r.length)];
- if ((r.location + r.length) > len) {
+ if (len > (r.location + r.length)) {
/* something is beyond the xxxAction, *must* be followed by a colon */
if ([methodName characterAtIndex:(r.location + r.length)] != ':')
continue;
SEL sel;
daName = [_name stringByAppendingString:@"Action"];
- sel = NSSelectorFromString(daName);
+ sel = daName ? NSSelectorFromString(daName) : NULL;
if (![self respondsToSelector:sel])
return [super lookupName:_name inContext:_ctx acquire:_flag];
# version file
-SUBMINOR_VERSION:=61
+SUBMINOR_VERSION:=62
# v4.3.42 requires libNGExtensions v4.3.116
# v4.3.40 requires libNGExtensions v4.3.115