From gnustep-port@opengroupware.org Tue Mar 9 09:06:08 2004 From: gnustep-port@opengroupware.org (NeXT) Date: Tue, 09 Mar 2004 18:06:08 +0900 Subject: [OGo-GNUstep-Port] (WAS: Re: [GSWHackers] Future of GnusStep WebObject) In-Reply-To: <958210A4-6C91-11D8-9C72-000393C29C2A@opengroupware.org> Message-ID: <88e1f233210d3a3d0233cf74754b7a84@GNUstep.Home> I am not sure whether gnustep-port is correct list to CC but anyway, I have question. :-) The main difference between SOPE and GSWeb is in Main.m(for Main.wo/Main.gswc), I have -submit method and in that; - (WOComponent *) submit { NSLog(@"currentGuest.guestName:<%@>", [self valueForKeyPath:@"currentGuest.guestName"]); return nil; } In case of SOPE, the value was nil, and in GSWeb, correct value, the name. I cannot figure out why -valueForKeyPath: not work in SOPE.(Possibly not set or acidentally released?) Can you help me again? Thanks in advance. On 2004-03-03 06:35:54 +0900 Helge Hess wrote: > On 02.03.2004, at 20:41, NeXT wrote: >> OK, bug reporting here :-) >> >> KVC enhancement does not work. Main.m should have -(Guest >> *)currentGuest { >> return currentGuest; } method definition. >> Without this, the application does not work. Setter method ie., - >> (void)setCurrentGuest: does not needed. > > But you are on gnustep-base, not on libFoundation? I don't believe > that > unless gstep-base doesn't support ivar KVC too, it should definitely > work ;-) > > If you start the app, does it log on the shell that it is using a > different > keypath association? (a Note: log) > > regards, > Helge > >> On 2004-03-03 01:53:26 +0900 Helge Hess >> >> wrote: >>> On Mar 2, 2004, at 4:27 PM, NeXT wrote: >>>>> Hm. I might add this as an compatibility option to SOPE, no big >>>>> deal, >>>>> stay tuned ;-) >>>> Good to here :-) >>> OK, just implemented your requests ;-) (libNGObjWeb v4.2.314) >>> a) removed dependency on EOSQLParser (does it work now with GDL >>> EOControl?) >>> b) added ability to use system KVC for key/value associations, just >>> do >>> Defaults write NSGlobalDomain \ >>> WOKeyPathAssociationClass WOKeyPathAssociationSystemKVC >>> this should give you ivar KVC (to revert, just delete the key) >>> Let me know what if you encounter further issues ;-) >