Re: EOF Stumper (for me at least)

2009-05-18 Thread Robert B. Hanviriyapunt
Just wanted to say that it sounds to me that you manually assign your primary key attribute (as opposed to primary key generation [EO_PK or whatnot]) - I personally don't let my app set primary key attributes outside of a custom primary key generator EOF delegate Your problem IS puzzling an

Re: EOF Stumper (for me at least)

2009-05-18 Thread Chuck Hill
On May 18, 2009, at 6:15 PM, Lon Varscsak wrote: I'm not sure. When I fix the null primary key thing (by not using propagate primary keys) then the constraint violation happens. Is this a join table where EOF might be deleting and then inserting the "same" row (related object removed then

Re: EOF Stumper (for me at least)

2009-05-18 Thread Lon Varscsak
I'm not sure. When I fix the null primary key thing (by not using propagate primary keys) then the constraint violation happens. Again, it only happens about 10% of the timefor the life of me I have no idea. I've been using EOF since WO was in pre-release and I am absolutely stumped. I'm clo

Re: Form Values updated before Action Called

2009-05-18 Thread Chuck Hill
On May 18, 2009, at 11:22 AM, David Avendasora wrote: Hi all, I'm sure this is an aspect of the Request - Response loop that I'm just not fully grasping. I have a form that is called via an AjaxModalDialog that is outside any other forms on my page. The submit button calls my "saveNewEve

Re: EOF Stumper (for me at least)

2009-05-18 Thread Chuck Hill
Hi Lon, This and your other problem cause me to suspect that you are violating an EOF commandment somewhere. The "it works sometimes and not others" is often indicative of a violation somewhere. Perhaps in this process? I am also unsure that Propagate Primary Key is intended to be use

Re: EOF Stumper (for me at least)

2009-05-18 Thread Luke Holton
Lon, Re; Unfortunately, that's not my issue. :) I think what you're describing takes place on to-one relationships (but I may be remembering it incorrectly too). However, the editingContext only has one OrderDetailSale object in it. Thanks for your attempt though! Yep. I do remember it wa

Re: EOF Stumper (for me at least)

2009-05-18 Thread Lon Varscsak
Unfortunately, that's not my issue. :) I think what you're describing takes place on to-one relationships (but I may be remembering it incorrectly too). However, the editingContext only has one OrderDetailSale object in it. Thanks for your attempt though! -Lon On Mon, May 18, 2009 at 2:54 PM, L

Re: EOF Stumper (for me at least)

2009-05-18 Thread Luke Holton
Lon, This sounds vaguely like a problem I fought through a few years ago. If I remember correctly, my problem was caused because I didn't realize EOF was creating the related object (in your case the OrderDetailSale object) automatically because you have both the "owns destination" and "propaga

Re: Form Values updated before Action Called

2009-05-18 Thread John Huss
takeValuesFromRequest happens before the action and pushes the form values into the WOComponent instance variables; I would look there and check context().request().formValues() John On Mon, May 18, 2009 at 1:22 PM, David Avendasora wrote: > Hi all, > > I'm sure this is an aspect of the Request

EOF Stumper (for me at least)

2009-05-18 Thread Lon Varscsak
I'm having a problem where sometimes a compound primary key value that I assign myself, get's overwritten to null somewhere and the insert statement fails. OrderHeader (primary key orderNumber) ->> OrderDetailSale (to many relationship, primary key orderNumber & orderLineNumber; both owns destin

Re: Using Jmeter to test WO

2009-05-18 Thread Antoine LAGIER
You can use-it, it works very well. Le 18 mai 09 à 08:41, Amiel Montecillo a écrit : I am trying out JMeter for the first time. It seems straightforward and powerful. May I ask what's the best way to determine that a particular request operation succeeded? Is it through the use of Respo

Form Values updated before Action Called

2009-05-18 Thread David Avendasora
Hi all, I'm sure this is an aspect of the Request - Response loop that I'm just not fully grasping. I have a form that is called via an AjaxModalDialog that is outside any other forms on my page. The submit button calls my "saveNewEvent" I'm running into a problem where when the form is s

Does propagatesPrimaryKey work in to-many relationships?

2009-05-18 Thread Lon Varscsak
I know that it could only propagate the primary key that create the to-many and the additional key(s) I would have to assign myself. -Lon ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@l

Re: Setting selected object in parent component (solved)

2009-05-18 Thread Leif Harrison
I figured I'd follow up on this, in case someone else has the same issue... It turns out I was just being dumb and not including selectedObject2 in the bindings of Component2, so of course the binding was not being set in the parent to be then passed to Component3. (figured it out a coupl

Re: Graceful shutdown of WO apps + monitor + wotaskd

2009-05-18 Thread Greg Brown
On May 5, 2009, at 10:32 AM, Kieran Kelleher wrote: Depends on how wotaskd and womonitor are configured to run. Assuming you are using Leopard, and using launchd jobs, you can restart them by telling launchctl to stop the job ... and they should automatically restart for example sud

Re: Wiki For Tips and Workarounds?

2009-05-18 Thread David Holt
In addition there is a WO wiki at the same site: http://wiki.objectstyle.org/confluence/display/WO/Home On 17-May-09, at 10:55 PM, Ray Kiddy wrote: On May 17, 2009, at 10:33 PM, Jerome Chan wrote: Is there a wiki for tips and workarounds for webobjects? In addition to Apple's documentat

RE: Correct way to pass a localized string [FIXED]

2009-05-18 Thread Paul Stringer
Answering my own question after a bit of poking around :) Add a regex of ^localizer/..* to the list of binding validation rules kept in Preferences> WOLips and these then validate. ___ Do not post admin requests to the list. They will be ignored. We

Relating 2 different WOComponents, via AjaxUpdateContainer.

2009-05-18 Thread Gustavo Adolfo Pizano
Hello all. I made a WOComponent called ToolBar. there I put the follwoing: action="$addBAction" class="label">Address Book  action="$calBAction" class="label" >Calendar wo:i

Re: Oracle driver...

2009-05-18 Thread Brook, James
We recently upgraded to ojdbc5.jar for 11i, we are still running 9i on the server. The upgrade was to workaround an error that the old drivers were causing when binding to varchars with multi-byte characters. Since then we have occasionally been experiencing errors like these two: OALL8 is in an

Correct way to pass a localized string

2009-05-18 Thread Paul Stringer
What's the correct way to pass a localized string through a binding that does the same as this but that doesn't give the validation error of "There is no Key 'string' for the Keypath 'localizer'" in 'MyComponent'. Is there some wognl magic command that will do it in the place of accessor