+2004-10-26 Helge Hess <helge.hess@opengroupware.org>
+
+ * DynamicElements/WOxHTMLElemBuilder.m: select WOSubmitButton for
+ <input type="button"> in .wox files (should be fixed) (v4.3.76)
+
+2004-10-25 Helge Hess <helge.hess@opengroupware.org>
+
+ * SoObjects/SoUser.m: just return nil for unsupported KVC keys
+ (v4.3.75)
+
2004-10-23 Helge Hess <helge.hess@opengroupware.org>
* v4.3.74
+ (void)initialize {
static BOOL isInitialized = NO;
- if (!isInitialized) {
- isInitialized = YES;
+ if (isInitialized) return;
+ isInitialized = YES;
- multipartFormData = [NGMimeType mimeType:@"multipart/form-data"];
- multipartFormData = RETAIN(multipartFormData);
- }
+ multipartFormData = [[NGMimeType mimeType:@"multipart/form-data"] retain];
}
- (id)initWithName:(NSString *)_name
associations:(NSDictionary *)_config
- template:(WOElement *)_root {
+ template:(WOElement *)_t
+{
- if ((self = [super initWithName:_name associations:_config template:_root])) {
+ if ((self = [super initWithName:_name associations:_config template:_t])) {
self->filePath = OWGetProperty(_config, @"filePath");
self->data = OWGetProperty(_config, @"data");
}
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#include "WOForm.h"
#include "WOElement+private.h"
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
+// $Id: WOxHTMLElemBuilder.m 1 2004-08-20 10:08:27Z znek $
#import <NGObjWeb/WOxElemBuilder.h>
type="file" maps to WOFileUpload
type="hidden" maps to WOHiddenField
type="password" maps to WOPasswordField
+ TODO: button!
all other map to WOTextField
<a>..</a> maps to WOHyperlink
<img .../> maps to WOImage
return NSClassFromString(@"WOSubmitButton");
else if (c1 == 'h' && [type isEqualToString:@"hidden"])
return NSClassFromString(@"WOHiddenField");
+ else if (c1 == 'b' && [type isEqualToString:@"button"]) {
+ [self logWithFormat:@"WARNING: selecting WOSubmitButton for "
+ @"input with type 'button' !"];
+ return NSClassFromString(@"WOSubmitButton");
+ }
break;
case 8:
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#include "SoSelectorInvocation.h"
#include "SoClassSecurityInfo.h"
/*
- Copyright (C) 2000-2003 SKYRIX Software AG
+ Copyright (C) 2002-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 "SoUser.h"
#include "common.h"
return aroles;
}
+/* KVC */
+
+- (id)valueForUndefinedKey:(NSString *)_key {
+ return nil;
+}
+
/* description */
- (NSString *)description {
# version file
-SUBMINOR_VERSION:=74
+SUBMINOR_VERSION:=76
# v4.3.42 requires libNGExtensions v4.3.116
# v4.3.40 requires libNGExtensions v4.3.115