Re: Null property exceptions

2008-06-02 Thread Chuck Hill
On Jun 2, 2008, at 9:42 PM, Jeff Schmitz wrote: thanks! You're exactly right, that relationship is an owns destination relationship. I changed the code to set the properties on the existing entryScore instead of creating a new one: EOQualifier poolQual = Pool.NAME.eq(name); pool

Re: Null property exceptions

2008-06-02 Thread Jeff Schmitz
thanks! You're exactly right, that relationship is an owns destination relationship. I changed the code to set the properties on the existing entryScore instead of creating a new one: EOQualifier poolQual = Pool.NAME.eq(name); pool = Pool.fetchRequiredPool(ec, poolQual); entry =

Re: Webobjects-dev Digest, Vol 5, Issue 608

2008-06-02 Thread Don
I have included the WOInstaller.jar file that was created by Mike and Q, as well as new custom code to download the other components from their websites (Eclipse and WOLips). don On Monday, June 02, 2008, at 06:26PM, "Mike Schrag" <[EMAIL PROTECTED]> wrote: >On Jun 2, 2008, at 5:46 PM, Jeremy

Re: Webobjects-dev Digest, Vol 5, Issue 608

2008-06-02 Thread Don
Hello; The installer downloads the DMG distribution from the apple updates site and installs it. Don On Monday, June 02, 2008, at 05:46PM, "Jeremy Matthews" <[EMAIL PROTECTED]> wrote: >It will install WebObjects? >What part? > >So far, Apple legal has been pretty clear about redistributing cer

Re: Webobjects-dev Digest, Vol 5, Issue 608

2008-06-02 Thread Mike Schrag
On Jun 2, 2008, at 5:46 PM, Jeremy Matthews wrote: It will install WebObjects? What part? I assume he's use the WOInstaller that Q and I wrote. It actually downloads the pkg from Apple and unpacks WO inside the Java app to do it, so it's not redistributing WO. ms

Re: Webobjects-dev Digest, Vol 5, Issue 608

2008-06-02 Thread Jeremy Matthews
It will install WebObjects? What part? So far, Apple legal has been pretty clear about redistributing certain elements of WebObjectsand since I maintain the OS X Installer...I'm REALLY interested! Thanks, jeremy >I have created an installer that will install WOLips, WebObjects >5.3.3, an

Time & Spatial java classes

2008-06-02 Thread Georg Tuparev
Folks, First - sorry for the cross-posting. Several times we had here or around a beer longish discussions about how suboptimal the Java Time & Date classes are (I am using the most diplomatic language I am capable of :-) In addition there is virtually no good support for spatial coordinat

Re: InvocationTargetException on new WORequest

2008-06-02 Thread Mike Schrag
Error: java.lang.reflect.InvocationTargetException Reason: com.webobjects.appserver.WORequest.(Ljava/lang/ String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lcom/ webobjects/foundation/NSData;Ljava/util/Map;)V Presumably this is wrapping a NoSuchMethodError here, which only h

Re: InvocationTargetException on new WORequest

2008-06-02 Thread Chuck Hill
Ljava/util/Map You are building against WO 5.4 and running against WO 5.3 Chuck On Jun 2, 2008, at 11:52 AM, Eric E. van Leeuwen wrote: Application: Error: java.lang.reflect.InvocationTargetException Reason: com.webobjects.appserver.WORequest.(Ljava/lang/ String;Ljava/lang/String

Re: InvocationTargetException on new WORequest

2008-06-02 Thread Eric E. van Leeuwen
Application: Error: java.lang.reflect.InvocationTargetException Reason: com.webobjects.appserver.WORequest.(Ljava/lang/ String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Map;Lcom/ webobjects/foundation/NSData;Ljava/util/Map;)V Stack trace:File

Re: InvocationTargetException on new WORequest

2008-06-02 Thread Chuck Hill
Can we see the stack trace and exact exception message? On Jun 2, 2008, at 11:01 AM, Eric E. van Leeuwen wrote: All, I've been searching the archives (as well as the web in general) for a while now and can't find exactly what I'm looking for. I have a DirectAction defaultAction() that che

InvocationTargetException on new WORequest

2008-06-02 Thread Eric E. van Leeuwen
All, I've been searching the archives (as well as the web in general) for a while now and can't find exactly what I'm looking for. I have a DirectAction defaultAction() that check's to see if a specific cookie is present and depending either performs the login() or validate() method. The

Re: Relationship across model boundaries failing

2008-06-02 Thread Chuck Hill
On May 30, 2008, at 6:39 PM, Mike Schrag wrote: Now I'm just going to have to go look into fixing this in Wonder. How much effort is expended being scared of inverse faulting (which is a problem that seems like it really shouldn't be all THAT hard to fix with a little elbow grease)? It

model.validateKey intercepted on null?

2008-06-02 Thread Rams
Hi everyone, I have a model object using the WonderEntity template and my validateKey methods are being intercepted higher up with a NullPropertyException (ERXValidationException). I'd like to handle the null values myself and throw a localized exception message, but my validateKey metho

Re: Null property exceptions

2008-06-02 Thread Johann Werner
Hi Jeff, what is your entryScore relationship like? Do you have "owns destination" checked? If yes then by creating an Entry object EOF does create an EntryScore object for you automatically. So when you save changes that object is still in the editing context but no attributes have been

New WOLips/WebObjects/Eclipse installer

2008-06-02 Thread Don Lindsay
Hello; I have created an installer that will install WOLips, WebObjects 5.3.3, and eclipse for a user on Windows or Linux, Code for OS X is included in the installer. However, I have not enabled it, as OS X is the easiest environment to setup WebObjects on, and there is an existing nativ

Re: odd behaviour in n:m settings in EntityModeler in WOLips

2008-06-02 Thread Mike Schrag
That is exactly what I am saying ;-) I just noticed that this behaviour started between WOLips 3.3.5195 and WOLips 3.3.5205. Version 5195 did not display this error. I just tested it on another system. (5.4.2-ish).There I got the same behaviour. Fixed. ms

Re: odd behaviour in n:m settings in EntityModeler in WOLips

2008-06-02 Thread Johan Henselmans
On 2 jun 2008, at 11:07, Alexander Spohr wrote: Johann, it sounds like you got it the wrong way ’round. Am 02.06.2008 um 08:58 schrieb Johan Henselmans: I am creating a n:m relation between two tables, called adminuser and admingroup, and flatten the relationship. That would result in an

Re: odd behaviour in n:m settings in EntityModeler in WOLips

2008-06-02 Thread Alexander Spohr
Johann, it sounds like you got it the wrong way ’round. Am 02.06.2008 um 08:58 schrieb Johan Henselmans: I am creating a n:m relation between two tables, called adminuser and admingroup, and flatten the relationship. That would result in an n:m table, admingroupadminuser, with two relatio