Re: compound primary key ("failed to provide new primary keys")

2008-06-14 Thread Chuck Hill
On Jun 14, 2008, at 10:32 PM, Gavin Eadie wrote: Lucky I love learning! Things I learned: ... in WebObjects, if it's difficult, you're doing it wrongly! Amen. "if it takes more than three lines, you are probably doing it wrong" ... Chuck is always right (even if he doesn't mention fla

Re: compound primary key ("failed to provide new primary keys")

2008-06-14 Thread Gavin Eadie
Lucky I love learning! Things I learned: ... in WebObjects, if it's difficult, you're doing it wrongly! ... Chuck is always right (even if he doesn't mention flattening in his book). ... Apple's documentation for EOF at WO version 4.5 rocks! ... Start with the model and let the database ta

ReportMill can't find Framework?

2008-06-14 Thread James Cicenia
Hello I thought I had my ReportMill all good to go but it thinks it is in a framework? It errors on the RMPDFPage saying it can't find the TOSDevelopment framework. Any thoughts? Thanks James Cicenia ___ Do not post admin requests to the list.

Using ERMemoryAdaptor

2008-06-14 Thread Greg Hulands
Does anyone have any code for integrating this adaptor? I'm looking at using it in junit tests. Thanks, greg ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsub

Re: Linking Javascript Files

2008-06-14 Thread Don Lindsay
Nevermind, found the message that you solved it. Don On Jun 14, 2008, at 9:41 PM, Don Lindsay wrote: Hello; What platform are you developing on? Windows, Mac, etc Don On Jun 14, 2008, at 3:03 AM, Scott Lopatin wrote: Hey everyone, I'm having the same problem recorded in this post, but I d

Re: Linking Javascript Files

2008-06-14 Thread Don Lindsay
Hello; What platform are you developing on? Windows, Mac, etc Don On Jun 14, 2008, at 3:03 AM, Scott Lopatin wrote: Hey everyone, I'm having the same problem recorded in this post, but I don't see documented the fix anywhere online. Post: http://lists.apple.com/archives/Webobjects-dev/2006

Re: Using JavaRebel with WebObjects.

2008-06-14 Thread Mike Schrag
The JProfiler winners sent me their contact info (all but one, actually, so if you were one of the winners and you didn't already get an email from me, please send me your contact info because I don't have the list of the winners) and I sent that along, but actually none of the JavaRebel wi

Re: compound primary key ("failed to provide new primary keys")

2008-06-14 Thread Gavin Eadie
On Jun 14, 2008, at 7:08 PM, Chuck Hill wrote: Seems to me like it should be no trouble at all. ... maybe I'm trying too hard. My WOMantra is, "If it's difficult, it's wrong" .. Gav ___ Do not post admin requests to the list. They will be ignored.

WOLips BUG: can't configure frameworks set used in application

2008-06-14 Thread Gennady Kushnir
Hello list. I think it should be a common problem using WOLips with a common solution either... When adding and/or removing installed framework dependency (using WO Frameworks -> Configure...) an alert arised about some exception adding files to build path. As a result - these changes did not aff

Re: compound primary key ("failed to provide new primary keys")

2008-06-14 Thread Chuck Hill
On Jun 14, 2008, at 3:57 PM, Gavin Eadie wrote: My reading would indicate that I don't want to "propagates primary key". If I do, then the creation of an Advert WILL always create a Select. Nope. That is what Owns Destination does for a to-one, mandatory relationship. But Selects a

Re: compound primary key ("failed to provide new primary keys")

2008-06-14 Thread Gavin Eadie
My reading would indicate that I don't want to "propagates primary key". If I do, then the creation of an Advert WILL always create a Select. But Selects are not mandatory, in fact in this business model they are scarce. The real world model is a bulletin board of advertisements whose us

Re: compound primary key ("failed to provide new primary keys")

2008-06-14 Thread Johann Werner
You did it the wrong way. Don't check primary key propagation on the relationships _from_ Select. You clearly want the primary key from Author and Advert copied to the respective attributes in Select. So check that option on the relationships pointing _to_ Select. jw Am 14.06.2008 um 21:26

Re: Webservices on Eclipse

2008-06-14 Thread Drew Thoeni
You are absolutely correct. (Sorry I missed that.) However... Using the correct URL now points to the underlying problem. Though the console shows the services being registered, they don't appear to be available. With this URL: http://192.168.1.115/cgi-bin/WebObjects/sageservice.woa/-4220/

Re: compound primary key ("failed to provide new primary keys")

2008-06-14 Thread Gavin Eadie
Grr ... always in the last corner you look in. Sadly, Entity Modeler still complains for a lack of primary keys ... Gav <> On Jun 14, 2008, at 3:16 PM, Gavin Eadie wrote: No, I didn't. Having read about what that does, it looks like it is a capability intended for my need. Sadly, I've pok

Re: compound primary key ("failed to provide new primary keys")

2008-06-14 Thread David LeBer
On 14-Jun-08, at 3:16 PM, Gavin Eadie wrote: No, I didn't. Having read about what that does, it looks like it is a capability intended for my need. Sadly, I've poked into many corners of Entity Modeler without uncovering a likely checkbox, so far ... Gav Select the relationship in the Out

Re: compound primary key ("failed to provide new primary keys")

2008-06-14 Thread Chuck Hill
See the Advanced tab: <> On Jun 14, 2008, at 12:16 PM, Gavin Eadie wrote: No, I didn't. Having read about what that does, it looks like it is a capability intended for my need. Sadly, I've poked into many corners of Entity Modeler without uncovering a likely checkbox, so far ... Gav

Re: compound primary key ("failed to provide new primary keys")

2008-06-14 Thread Gavin Eadie
No, I didn't. Having read about what that does, it looks like it is a capability intended for my need. Sadly, I've poked into many corners of Entity Modeler without uncovering a likely checkbox, so far ... Gav On Jun 14, 2008, at 2:55 PM, Johann Werner wrote: Hi Gavin, did you check "Pro

Re: Webservices on Eclipse

2008-06-14 Thread mtaylor
Dear Drew, Are you sure that you don't need to also include the web service handler ('ws') in the URL? E.g.: http://192.168.1.115/cgi-bin/WebObjects/sageservice.woa/-4220/ws/Model20?wsdl -matt Matthew Taylor Northwestern University -Original Message- From: Drew Thoeni <[EMAIL PRO

Re: compound primary key ("failed to provide new primary keys")

2008-06-14 Thread Johann Werner
Hi Gavin, did you check "Propagates Primary Key" on the Author and Advert entity? jw Am 14.06.2008 um 18:31 schrieb Gavin Eadie: I've twisted myself into a knot and would appreciate a little untangling help. EOF makes so much easy that I get lulled into the idea that I know what I'm doing

Re: compound primary key ("failed to provide new primary keys")

2008-06-14 Thread Gavin Eadie
Thanks, Tom ... The locks don't influence the results ... The SQL involved is (and I've dumped the EC right before saveChanges() wherein the warning originates): About to set values in EO === Begin Internal Transaction evaluateExpression: "SELECT t0.OID, t0.MOST_RECENT_VISIT, t0.UNIQU

Re: Webservices on Eclipse

2008-06-14 Thread Drew Thoeni
Making advances (thanks Pascal). Build now completes but WSDL is not returned. When I use this URL I get back the HTML for the "Main" component. Not really what I was expecting. No error produced, no change in log,

Re: Linking Javascript Files

2008-06-14 Thread Scott Lopatin
Solved: The problem was I was doing this: And the load wasn't working in the header. Solved by listing each javascript file separately. Thanks, Scott On Jun 14, 2008, at 12:03 AM, Scott Lopatin wrote: Hey everyone, I'm having the same problem recorded in this post, but I don't see do

Re: Using JavaRebel with WebObjects.

2008-06-14 Thread Jay Al Hashal
Speaking of licenses? When are we getting those ;) :D -jay We didn't talk about it, we mostly just gave away 5 licenses :-) So I guess the 5 guys/gals that won a copy should contact you. For anyone currently using JavaRebel (discussed at WOWODC?) I have been working on an integration pl

Re: ERJavamail bug ?? - TEMPORARY SOLVED BUT NEED INVESTIGATING

2008-06-14 Thread Lachlan Deck
On 13/06/2008, at 6:40 PM, Amedeo Mantica wrote: public class Application extends ERXAjaxApplication { ERXMessageEncoding.setDefaultEncodingForAllLanguages("UTF8"); Besides everything else in this thread you want UTF-8 (i.e., with the hyphen) with regards, -- Lachlan D

Re: Using a EO NSData Attribute in an HTML element's style

2008-06-14 Thread Lachlan Deck
On 14/06/2008, at 6:42 AM, Mike Schrag wrote: I'm storing my images as BLOBs in the database. I have a DIV whose style attribute I want to include the background-image:url(value); property with value being the location of the BLOB. Is this possible? If so can someone shed some light for

Re: Webservices on Eclipse

2008-06-14 Thread Pascal Robert
Le 08-06-14 à 05:24, Drew Thoeni a écrit : I'm porting over a webservices application that runs well in Xcode but is not launching in Eclipse. After reading up on the list, it seems there's a confluence of problems, I read: * Get the latest webobjects from iPhone SDK (or there are no d

Webservices on Eclipse

2008-06-14 Thread Drew Thoeni
I'm porting over a webservices application that runs well in Xcode but is not launching in Eclipse. After reading up on the list, it seems there's a confluence of problems, I read: * Get the latest webobjects from iPhone SDK (or there are no difference in WO in the iPhone release, so don'

Linking Javascript Files

2008-06-14 Thread Scott Lopatin
Hey everyone, I'm having the same problem recorded in this post, but I don't see documented the fix anywhere online. Post: http://lists.apple.com/archives/Webobjects-dev/2006/Aug/msg00835.html I'm doing this from my page wrapper in the header: But when the app runs it doesn't load the java