Re: Many-To-Many Relationship across DB with different users

2012-03-14 Thread Chuck Hill
On 2012-03-13, at 10:08 PM, David Avendasora wrote: On Mar 13, 2012, at 8:13 AM, Chuck Hill wrote: It looks like the problem is the join table. Where does that sit? I suspect that Propogate Primary Key is not going to work across databases. You might have to manage that manually.

WebObjects 5.3.3 Dev Setup - Mac OS X 10.7 Lion

2012-03-14 Thread Colin Harris
I'm trying to setup a new dev environment on a laptop with Mac OS X Lion installed. I have done this many times on 10.6 and several of these have even been upgraded to Lion with no problems. I'm now trying to setup the WO adaptor on a fresh Lion install and have hit a wall. Once I install and

Re: WebObjects 5.3.3 Dev Setup - Mac OS X 10.7 Lion

2012-03-14 Thread Pascal Robert
Le 2012-03-14 à 02:54, Colin Harris a écrit : I'm trying to setup a new dev environment on a laptop with Mac OS X Lion installed. I have done this many times on 10.6 and several of these have even been upgraded to Lion with no problems. I'm now trying to setup the WO adaptor on a fresh

Forthcoming commits in Wonder master

2012-03-14 Thread Pascal Robert
Hello everyone, It's time to move some commits from integration to master! So, Friday I will add the commits to include the MooTools framework, the Ajax framework update, and all other commits made before March 9th. If you have found issues related to those commits, speak now! Thanks.

Re: [ANN] WOInject 1.0

2012-03-14 Thread Lachlan Deck
Looks great Henrique! This should be highly recommended (and should be used widely going forward IMHO within Wonder itself for testing and abstraction). On 14/03/2012, at 12:26 PM, Henrique Prange wrote: The WOCommunity team is pleased to announce the release of WOInject 1.0. WOInject is a

Re: Derived attribute and Prototype

2012-03-14 Thread Stéphan Mertz
Ok, I found my problem. In the version before prototype of my models, I have this kind of derived attributes : For MySQL : { allowsNull = Y; definition = ((TO_DAYS(NOW()) - TO_DAYS(patient.dateNaiss)) - (TO_DAYS(NOW()) - TO_DAYS(dateArrivee)))/365;

Re: Many-To-Many Relationship across DB with different users

2012-03-14 Thread Ramsey Gurley
On Mar 13, 2012, at 10:08 PM, David Avendasora wrote: On Mar 13, 2012, at 8:13 AM, Chuck Hill wrote: It looks like the problem is the join table. Where does that sit? I suspect that Propogate Primary Key is not going to work across databases. You might have to manage that manually.

JRebel model reloading and non-matching jdbc2Info

2012-03-14 Thread Denis Frolov
Hi, Ran into this issue earlier today and decided to share my experience with others. JRebel model reloading is failing due to exception thrown by ERXModelGroup.fixJDBCDictionary, e.g.: JRebel: reloading EOModel MyModel (1858062544) java.lang.IllegalArgumentException: The connection

Re: WebObjects 5.3.3 Dev Setup - Mac OS X 10.7 Lion

2012-03-14 Thread Chuck Hill
On 2012-03-13, at 11:54 PM, Colin Harris wrote: I'm trying to setup a new dev environment on a laptop with Mac OS X Lion installed. I have done this many times on 10.6 and several of these have even been upgraded to Lion with no problems. I'm now trying to setup the WO adaptor on a

Re: Derived attribute and Prototype

2012-03-14 Thread Chuck Hill
On 2012-03-14, at 7:17 AM, Stéphan Mertz wrote: Ok, I found my problem. In the version before prototype of my models, I have this kind of derived attributes : For MySQL : { allowsNull = Y; definition = ((TO_DAYS(NOW()) - TO_DAYS(patient.dateNaiss)) -

Re: Eclipse builds - force custom framework selections to be packaged

2012-03-14 Thread Pascal Robert
Hi Daniel, I guess that's a bug, but are you linking your projects as project (in the Projects tab in the build path) instead of as WO frameworks (in the Library tab in the build path)? Hi, In Eclipse, when I select WOLips Ant Tools - Install…, I'm presented with a list of open projects.

Re: Eclipse builds - force custom framework selections to be packaged

2012-03-14 Thread Chuck Hill
On 2012-03-14, at 1:09 PM, Daniel Roy wrote: Hi, In Eclipse, when I select WOLips Ant Tools - Install…, I'm presented with a list of open projects. From the image I've attached, FrameworkA is on the build path of MyApplication, so it's checked. But I can also include FrameworkB by

Re: Eclipse builds - force custom framework selections to be packaged

2012-03-14 Thread Daniel Roy
Hi, Pascal: The projects are linked as WO Frameworks. I'm trying to figure out how I can build an application (in Jenkins) in multiple ways, each with it's own set of dependent frameworks. So, for example: Client A Application1 FrameworkA FrameworkB

Re: [ANN] WOInject 1.0

2012-03-14 Thread Henrique Prange
Hi all, Just one correction: WOInject requires Guice and Javassist libraries. The site has been updated to include a package containing these libraries. Cheers, Henrique On 13/03/2012, at 22:26, Henrique Prange wrote: The WOCommunity team is pleased to announce the release of WOInject 1.0.

Re: Eclipse builds - force custom framework selections to be packaged

2012-03-14 Thread Pascal Robert
Le 2012-03-14 à 16:50, Daniel Roy a écrit : Hi, Pascal: The projects are linked as WO Frameworks. I'm trying to figure out how I can build an application (in Jenkins) in multiple ways, each with it's own set of dependent frameworks. So, for example: Client A Application1

Re: Eclipse builds - force custom framework selections to be packaged

2012-03-14 Thread Daniel Roy
Thanks Pascal for the ideas. I already have something working in Jenkins where I modified the setupWorkspace shell script from WOJenkins to take parameter that is a custom classpath filename (which resides in the relevant project). This custom classpath contains the required custom

Couldn't locate action class

2012-03-14 Thread Jeffrey Schmitz
Hi all, I'm seeing intermittent exceptions in my log files like: Mar 14 09:52:08 netBrackets[2001] ERROR er.extensions.appserver.ERXApplication - Exception caught: er.extensions.appserver.ERXDirectActionRequestHandler Couldn't locate action class named 'mcafeeLogin'. As far as I can tell,

Re: Couldn't locate action class

2012-03-14 Thread Pascal Robert
I got similar things in the past, it's just broken browsers doing stupid requests. I did notice that when it happens, it's people with strange browsers or with extensions. Hi all, I'm seeing intermittent exceptions in my log files like: Mar 14 09:52:08 netBrackets[2001] ERROR

Re: Couldn't locate action class

2012-03-14 Thread Jeffrey Schmitz
I'm guessing this URL to find a favicon is the root of the problem: URL = /cgi-bin/WebObjects/netBrackets.woa/1/wa/mcafeewardLogin/favicon.ico; Weird, but guess I'll let it slide. No one is complaining. On Mar 14, 2012, at 8:22 PM, Pascal Robert wrote: I got similar things in the

Re: Couldn't locate action class

2012-03-14 Thread Pascal Robert
Le 2012-03-14 à 21:26, Jeffrey Schmitz a écrit : I'm guessing this URL to find a favicon is the root of the problem: URL = /cgi-bin/WebObjects/netBrackets.woa/1/wa/mcafeewardLogin/favicon.ico; Weird, but guess I'll let it slide. No one is complaining. To stop having them in my

ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)

2012-03-14 Thread Rich
Hi guys, I can't seem to find a way to do a sort order based on the Entity objects Primary Key in an ERXRestFetchSpecification (the defaultSortOrdering specifier) I seem to be able to sort by any of the Attributes/Properties but not the PK (which I've called 'id') - Am I missing something

Re: Couldn't locate action class

2012-03-14 Thread Chuck Hill
Don't swallow. :-) I'd check the end of the URL for favicon.ico before I swallowed that exception. Better, add a re-write rule to trap this and either fail it or redirect to where your icon is. On 2012-03-14, at 6:32 PM, Pascal Robert wrote: Le 2012-03-14 à 21:26, Jeffrey Schmitz a

Re: Couldn't locate action class

2012-03-14 Thread Chuck Hill
On 2012-03-14, at 6:26 PM, Jeffrey Schmitz wrote: I'm guessing this URL to find a favicon is the root of the problem: URL = /cgi-bin/WebObjects/netBrackets.woa/1/wa/mcafeewardLogin/favicon.ico; Weird, but guess I'll let it slide. No one is complaining. Notice that the error is

Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)

2012-03-14 Thread Paul Yu
Why are you sorting on id column? My patterns is to use a displaySequence column. -- Paul Yu Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Wednesday, March 14, 2012 at 10:33 PM, Rich wrote: Hi guys, I can't seem to find a way to do a sort order based on the Entity objects

Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)

2012-03-14 Thread Ray Kiddy
On Mar 14, 2012, at 7:33 PM, Rich wrote: Hi guys, I can't seem to find a way to do a sort order based on the Entity objects Primary Key in an ERXRestFetchSpecification (the defaultSortOrdering specifier) I seem to be able to sort by any of the Attributes/Properties but not the PK

Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)

2012-03-14 Thread Rich
Hi Paul / Ray, I'm not doing any real display of the data, The WO site is purely a provider for a basic (Prototype) web-service and just returns the entity objects in JSON. What I want to do is a descending sort on the PK so only the latest batch of objects get returned. I know I could have a

Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)

2012-03-14 Thread Rich
That sounds like what I'm missing ;o) - I haven't specifically set it, just presumed it would be available properety as it was being returned in the JSON representation Is it a big no-no to expose it and make it say a read-only property, and if so where would I do it if I'm not supposer to

Re: Couldn't locate action class

2012-03-14 Thread Jeffrey Schmitz
Notice that the error is Couldn't locate action class named 'mcafeeLogin'. Read carefully, action class not action. Wow, good catch. That's subtle. And yeah, I don't think I want to swallow all missing action exceptions. Thanks! Jeff On Mar 14, 2012, at 9:42 PM, Chuck Hill wrote:

Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)

2012-03-14 Thread Rich
OK,' just to test', I set the 'id' property in the _MODEL_NAME class, which is probably a big-bad thing to do, but it works, and does exactly what I needed. Obviously NOT ideal, but unless anyone has a suggestion on a 'cleaner / propper' way to expose it, then I think it will suffice for the

Re: ERXRestFetchSpecification defaultSortOrderings ordered by id (PK)

2012-03-14 Thread Paul Hoadley
On 15/03/2012, at 3:25 PM, Rich wrote: Obviously NOT ideal, but unless anyone has a suggestion on a 'cleaner / propper' way to expose it, then I think it will suffice for the 'Prototype' - I'll change it in the 'production' version if it get's that far (honest) Assuming you're extending