Re: Problems disabling direct connect mode

2008-08-19 Thread Lachlan Deck
On 19/08/2008, at 1:37 PM, Greg Hulands wrote: Thanks Chuck, that was it. I have updated the wiki to reflect this change. greg On 18/08/2008, at 8:16 PM, Chuck Hill wrote: On Aug 18, 2008, at 8:06 PM, Greg Hulands wrote: Any help is greatly appreciated, It is a problem with your

Re: CSS background images

2008-08-19 Thread Houdah - ML Pierre Bernard
Try using my StyleSheetLinker (+ StyleSheetAction) to pre-process image urls: http://code.google.com/p/houdah-webobjects-frameworks/source/browse/trunk/HoudahAppServer/src/com/houdah/appserver/stylesheets/StyleSheetLinker.java

Re: WOLips/MacPorts

2008-08-19 Thread Joshua Paul
Chuck's suggestion from today, on another thread, solved this problem: quote It is a problem with your Apache config. I _think_ this is the offending clause: Directory / Options FollowSymLinks AllowOverride None # Order deny,allow

Owns Destination problem

2008-08-19 Thread David Avendasora
Hi all, This is very confusing, and I know it should be a very simple thing. I have a the following relationship that is marked as Owns Destination, ManufacturingSchedule - ScheduledRouting When I remove the ScheduledRouting from the ManufacturingSchedule's scheduledRoutings()

Re: Owns Destination problem

2008-08-19 Thread David Avendasora
Oh, and another related (pun unavoidable) problem. ScheduledRouting - ScheduledBatch, ScheduledRouting Owns ScheduledBatch, the delete rule is Cascade, and scheduledRouting is a required relationship in ScheduledBatch. Yet when I delete a ScheduledRouting, I get the same validation error,

Re: Owns Destination problem

2008-08-19 Thread David Avendasora
Just a little more detail: If I save the EditingContext before deleting the related object, or removing it from the relationship, then I get the expected behavior. If I add it, then remove it, then save, I get the validation error. This is all being done in the Default EditingContext.

Re: Is D2W dead? [Was: WebAssistant IllegalStateException]

2008-08-19 Thread Guido Neitzer
Maybe you want to think about some things: - Right now, without autolocking of editing contexts in the WebObjects frameworks, using D2W without ProjectWOnder is asking for deadlocks. It's not an if it's a when thing ... - Don't freeze components. You loose ALL the nice things of D2W and get the

Absolute URL's for WOHyperlink and WOActiveImage?

2008-08-19 Thread Greg Hulands
Hi, I've run into a problem in that the links being generated are not working when I click them This is what WO is generating for a link /cgi-bin/WebObjects/App.woa/-4300/wo/mBfG9OgdXVZa8swzzz6BNM/0.0.3.19 But when I click it, this is what the webview in our application is trying to

Re: Absolute URL's for WOHyperlink and WOActiveImage?

2008-08-19 Thread Greg Hulands
This is using WO 5.3.3 On 19/08/2008, at 9:23 AM, Greg Hulands wrote: Hi, I've run into a problem in that the links being generated are not working when I click them This is what WO is generating for a link /cgi-bin/WebObjects/App.woa/-4300/wo/mBfG9OgdXVZa8swzzz6BNM/0.0.3.19 But when I

Re: Absolute URL's for WOHyperlink and WOActiveImage? {SOLVED}

2008-08-19 Thread Greg Hulands
In the WOContext subclass I just needed to call public MyWOContext(WORequest r) { super (r); this._generateCompleteURLs(); } _generateCompleteURLs() is a private API in 5.3.3 but in 5.4 it is public generateCompleteURLs() so I think it is okay

Back Track too far on first click of a link

2008-08-19 Thread Greg Hulands
Hi, I'm having a problem with the first page I display contains about 5 or 6 links and when I hit any of them I get a page backtracked too far error. So I upped the page cache to 1,000,000 and it still does the same thing. I searched the archives but most of these problems in the past has

Re: Owns Destination problem

2008-08-19 Thread Florijan Stamenkovic
Hi Dave, Note these lines in the stack: at com.webobjects.eocontrol.EOCustomObject.validateForSave (EOCustomObject.java:1411) at com.webobjects.eocontrol.EOCustomObject.validateForInsert (EOCustomObject.java:1473) What exactly are you doing in your app? It looks as though your EOs are

Re: Owns Destination problem

2008-08-19 Thread Chuck Hill
On Aug 19, 2008, at 7:37 AM, David Avendasora wrote: Hi all, This is very confusing, and I know it should be a very simple thing. I have a the following relationship that is marked as Owns Destination, ManufacturingSchedule - ScheduledRouting When I remove the ScheduledRouting from the

Re: Back Track too far on first click of a link

2008-08-19 Thread Neil MacLennan
See if this page helps... http://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Development-Common+Pitfalls+and+Troubleshooting .neilmac On 19 Aug 2008, at 18:36, Greg Hulands wrote: Hi, I'm having a problem with the first page I display contains about 5 or 6 links and when I

Re: Absolute URL's for WOHyperlink and WOActiveImage?

2008-08-19 Thread Chuck Hill
On Aug 19, 2008, at 9:23 AM, Greg Hulands wrote: Hi, I've run into a problem in that the links being generated are not working when I click them This is what WO is generating for a link /cgi-bin/WebObjects/App.woa/-4300/wo/mBfG9OgdXVZa8swzzz6BNM/0.0.3.19 But when I click it, this is what

Re: Back Track too far on first click of a link

2008-08-19 Thread Chuck Hill
On Aug 19, 2008, at 10:36 AM, Greg Hulands wrote: Hi, I'm having a problem with the first page I display contains about 5 or 6 links and when I hit any of them I get a page backtracked too far error. So I upped the page cache to 1,000,000 and it still does the same thing. I searched the

Re: Back Track too far on first click of a link

2008-08-19 Thread Dov Rosenberg
It sounds like your page jumped sessions somehow. Keep track of your session ID as you click around and see if it changes. In your email the session ID is BDbwssiqZnhsHsSxmN1qQg (the part between wo/ and /0.0.3 Dov Rosenberg On 8/19/08 2:12 PM, Chuck Hill [EMAIL PROTECTED] wrote: On Aug

Re: Owns Destination problem

2008-08-19 Thread David Avendasora
Noo! Sob. Sniff. This does sound really similar, but I'm not convinced yet that what I'm doing _should_ work. Here's the exact flow. I'm the only one using the app and I'm using the Default Editing Context. For review: ManufacturingSchedule - ScheduledRouting MS-SR Owns

Re: Back Track too far on first click of a link

2008-08-19 Thread Greg Hulands
It turns out I had a page that was getting created with new Page() instead of page with name. It was in a helper class so now I call WOApplication.application().pageWithName(page, directActionsContext); But I am now getting a session timed out on the first click, yet the session is the same

eclipse crashing

2008-08-19 Thread james o
i've finally taken the leap and started my eclipse/WOLips development a couple months ago. things were going pretty smooth until last week when eclipse started crashing on me. first it was intermittent and now eclips will crash copying and pasting, editing and saving my html/ wod file at

Re: eclipse crashing

2008-08-19 Thread Pascal Robert
Le 08-08-19 à 15:33, james o a écrit : i've finally taken the leap and started my eclipse/WOLips development a couple months ago. things were going pretty smooth until last week when eclipse started crashing on me. first it was intermittent and now eclips will crash copying and pasting,

Re: Generics Frustrations

2008-08-19 Thread Roger Perryman
Thanks to those who offered help. For anyone following this thread, the solution for creating the dictionary was to define it as NSDictionaryString, ? extends Object tmpDict = new NSDictionaryString, Object( new NSArrayObject( new Object[] { location, schedType, Integer.valueOf(

Re: Owns Destination problem

2008-08-19 Thread Chuck Hill
On Aug 19, 2008, at 12:22 PM, David Avendasora wrote: Noo! Sob. Sniff. This does sound really similar, but I'm not convinced yet that what I'm doing _should_ work. Here's the exact flow. I'm the only one using the app and I'm using the Default Editing Context. For review:

Re: Owns Destination problem

2008-08-19 Thread Florijan Stamenkovic
So, you create an MS. Then you create an SR and relate it to it. Then you unrelate the MS from the SR and vice-versa. What do you want to achieve by this? If it did work, your object graph would be at exactly the same state as after step 2. Or am I missing something? F On Aug 19, 2008, at

Re: Owns Destination problem

2008-08-19 Thread David Avendasora
Nope. Not missing anything. That is exactly the goal. I'm testing a work-flow in which the user schedules something to be made, but then later changes their minds without having saved. You know users, they can never make their minds up and will do the darnedest things. Dave On Aug 19,

Re: Owns Destination problem

2008-08-19 Thread David Avendasora
On Aug 19, 2008, at 4:43 PM, Chuck Hill wrote: On Aug 19, 2008, at 12:22 PM, David Avendasora wrote: Noo! Sob. Sniff. This does sound really similar, but I'm not convinced yet that what I'm doing _should_ work. Here's the exact flow. I'm the only one using the app and I'm using the

Re: Owns Destination problem

2008-08-19 Thread Chuck Hill
On Aug 19, 2008, at 1:59 PM, David Avendasora wrote: Nope. Not missing anything. That is exactly the goal. I'm testing a work-flow in which the user schedules something to be made, but then later changes their minds without having saved. You know users, they can never make their minds up

Re: eclipse crashing

2008-08-19 Thread james o
On Aug 19, 2008, at 3:39 PM, Pascal Robert wrote: Le 08-08-19 à 15:33, james o a écrit : i've finally taken the leap and started my eclipse/WOLips development a couple months ago. things were going pretty smooth until last week when eclipse started crashing on me. first it was

Re: Owns Destination problem

2008-08-19 Thread David Avendasora
On Aug 19, 2008, at 5:12 PM, Chuck Hill wrote: Is there any chance of using ec.revert() here? Or will that revert too much? Another work around is to do this in a child EC so if they change their mind you can just discard the EC and carry on. Chuck In reality, they will likely be

Re: Owns Destination problem

2008-08-19 Thread Chuck Hill
On Aug 19, 2008, at 3:07 PM, David Avendasora wrote: On Aug 19, 2008, at 5:12 PM, Chuck Hill wrote: Is there any chance of using ec.revert() here? Or will that revert too much? Another work around is to do this in a child EC so if they change their mind you can just discard the EC and

Re: eclipse crashing

2008-08-19 Thread Chuck Hill
On Aug 19, 2008, at 2:32 PM, james o wrote: On Aug 19, 2008, at 3:39 PM, Pascal Robert wrote: Le 08-08-19 à 15:33, james o a écrit : i've finally taken the leap and started my eclipse/WOLips development a couple months ago. things were going pretty smooth until last week when eclipse

Re: Owns Destination problem

2008-08-19 Thread Chuck Hill
On Aug 19, 2008, at 2:07 PM, David Avendasora wrote: On Aug 19, 2008, at 4:43 PM, Chuck Hill wrote: On Aug 19, 2008, at 12:22 PM, David Avendasora wrote: Noo! Sob. Sniff. This does sound really similar, but I'm not convinced yet that what I'm doing _should_ work. Here's the exact

Re: Back Track too far on first click of a link

2008-08-19 Thread Chuck Hill
On Aug 19, 2008, at 12:29 PM, Greg Hulands wrote: It turns out I had a page that was getting created with new Page() instead of page with name. It was in a helper class so now I call WOApplication.application().pageWithName(page, directActionsContext); But I am now getting a session timed

Re: Owns Destination problem

2008-08-19 Thread Lachlan Deck
On 20/08/2008, at 8:24 AM, Chuck Hill wrote: On Aug 19, 2008, at 2:07 PM, David Avendasora wrote: On Aug 19, 2008, at 4:43 PM, Chuck Hill wrote: On Aug 19, 2008, at 12:22 PM, David Avendasora wrote: Noo! Sob. Sniff. This does sound really similar, but I'm not convinced yet that

migration and longText type

2008-08-19 Thread tedpet5
I am trying to use the longText type in my migration... (backend is postgresql). the migration comes up like this: employmentEventTable.newStringColumn(c_eventnotes, ${attribute.width}, false); which fails because of the ${attribute.width} as there is no 'width'. I don't understand what I need