Creating new EOObjectStoreCoordinator for thread

2008-08-03 Thread Jeff Schmitz
Hello, Continuing on with trying to access EOs in a background thread, I'm trying to give the background thread its own EOObjectStoreCoordinator. To create a new EOObjectStoreCoordinator, I'm using the following code: EOObjectStoreCoordinator parentObjectStore = new EOObjectSto

Re: WOText Escape HTML Broken?

2008-08-03 Thread Mr. Frank Cobia
You are correct. I did not investigate the behavior enough. I thought it was not working because WOText inherits from WOInput which has some "EscapeHTML" methods. But it turns out I do not need them. I thought I had to have "" in my textarea to get the proper behavior since HTML normally in

Re: Copying An EO Values

2008-08-03 Thread David LeBer
On 3-Aug-08, at 6:55 PM, Owen McKerrow wrote: Hey, Ondra's suggestion is the a good idea. Or you could have a look at Chapter 9 of Chucks "Practical WebObjects" book, which is a whole chapter on this very topic :) And it requires an entire chapter because when you think about it, it is

Re: Copying An EO Values

2008-08-03 Thread Owen McKerrow
Hey, Ondra's suggestion is the a good idea. Or you could have a look at Chapter 9 of Chucks "Practical WebObjects" book, which is a whole chapter on this very topic :) Owen McKerrow WebMaster, emlab Ph : +61 02 4221 5517 http://emlab.uow.edu.au - - - - - - - - - - - - - - - - - - - - - - -

Re: WOText Escape HTML Broken?

2008-08-03 Thread Rams
On Aug 2, 2008, at 4:06 PM, Mr. Frank Cobia wrote: The "escapeHTML" binding has not effect on WOText (or ERXWOText). Is this the way it is supposed to behave or is it broken. I am using WO 5.4.2 on Mac OS. I think escapeHTML is only for text display (WOString) and not for text input(WOTex

Re: Copying An EO Values

2008-08-03 Thread Gino Pacitti
Well what I mean is that instead of neweo.setValue(existingeo.someValue()); for every value in the existingeo which I want to transpose to the neweo. Is there a operation like - neweo = existineo.clone(); So all the values in the new eo are the same as existingeo but obvioulsy with a new

Re: Copying An EO Values

2008-08-03 Thread Ondřej Čada
Gino, On Aug 3, 2008, at 9:27 PM, Gino Pacitti wrote: Has anyone had experience copying an EO values fetched and in and EditingContext to a new EO in an atomic action? "Atomic" in what sense? Myself, I've always combined valuesForKeys and takeValuesFromDictionary, but YMMV :) Best, ---

Copying An EO Values

2008-08-03 Thread Gino Pacitti
Hi .. Has anyone had experience copying an EO values fetched and in and EditingContext to a new EO in an atomic action? CustomObject obj = eo.clone(); will not work... Any help appreciated. Gino ___ Do not post admin requests to the list. They w