Re: SharedEditingContext Write Locks? --> Documentation

2005-11-16 Thread Lachlan Deck
Thanks Art... On 17/11/2005, at 5:22 PM, Art Isbell wrote: On Nov 16, 2005, at 5:57 PM, Lachlan Deck wrote: This might be a surprise (given some of Apple's docs) but the WebObjects EOModeler User Guide describes these quite well. http://developer.apple.com/documentation/WebObjects/UsingEOMod

Re: SharedEditingContext Write Locks?

2005-11-16 Thread Art Isbell
On Nov 16, 2005, at 5:57 PM, Lachlan Deck wrote: This might be a surprise (given some of Apple's docs) but the WebObjects EOModeler User Guide describes these quite well. http://developer.apple.com/documentation/WebObjects/UsingEOModeler/ index.html The best shared object documentation I ha

Re: SharedEditingContext Write Locks?

2005-11-16 Thread Ian Joyner
On 17/11/2005, at 3:27 PM, Chuck Hill wrote: I think Ben was pretty clear on this: The crux of the issue here is that EOSharedEditingContext uses implementation inheritance from EOEditingContext instead of composition. Someone got lazy and inherited from EOEditingContext. Bad OO but le

Re: SharedEditingContext Write Locks?

2005-11-16 Thread Lachlan Deck
Hi again, On 17/11/2005, at 2:36 PM, Dov Rosenberg wrote: So if I understand what you are saying here They work best by using their API to fetch objects you wish to share into the context, and then creating real EOEditingContexts and having them use that shared context. If I want to use sha

Re: SharedEditingContext Write Locks?

2005-11-16 Thread Chuck Hill
I think Ben was pretty clear on this: The crux of the issue here is that EOSharedEditingContext uses implementation inheritance from EOEditingContext instead of composition. Someone got lazy and inherited from EOEditingContext. Bad OO but less effort. This is inheritance for behavior no

Re: SharedEditingContext Write Locks?

2005-11-16 Thread Ian Joyner
On 17/11/2005, at 10:45 AM, Ben Trumbull wrote:K.Here's the secret:EOSharedEditingContexts are NOT EOEditingContexts.That's a great secret because the EOSharedEditingContext doc says:Class EOSharedEditingContextjava.lang.Object  com.webobjects.eocontrol.EOObjectStore      com.webobjects.eocontrol.E

Re: SharedEditingContext Write Locks?

2005-11-16 Thread Lachlan Deck
Hi there, On 17/11/2005, at 2:11 PM, Dov Rosenberg wrote: We changed the code to do something like this instead: fetchedRecords = ec.objectsWithFetchSpecification(fetchSpec); Where ec is our SharedEditingContext. Is that the correct usage? Well you only want to do this when there's a ne

Re: SharedEditingContext Write Locks?

2005-11-16 Thread Dov Rosenberg
So if I understand what you are saying here > > They work best by using their API to fetch objects you wish to share > into the context, and then creating real EOEditingContexts and having > them use that shared context. If I want to use shared objects from a non shared editing context I need t

Re: SharedEditingContext Write Locks?

2005-11-16 Thread Dov Rosenberg
Those are some very good pieces of information. We have passed SharedEditingContexts into methods that expect regular EditingContexts in a lot of places. Here is an example: We used to pass a SharedEditingContext into a method so we could use it like userList = EOUtilities.objectsWithQualifierFor

Re: SharedEditingContext Write Locks?

2005-11-16 Thread Lachlan Deck
Hi there, On 17/11/2005, at 12:41 PM, Ben Trumbull wrote: At 12:13 PM +1100 11/17/05, Lachlan Deck wrote: where would you have the sharedEC refetch for newly inserted objects? As for "when", That's what I meant... that depends on when you'd like to make them available to the rest of the

Re: SharedEditingContext Write Locks?

2005-11-16 Thread Ben Trumbull
At 12:13 PM +1100 11/17/05, Lachlan Deck wrote: where would you have the sharedEC refetch for newly inserted objects? You can use objectsWithFetchSpecification() on the sharedEC for this purpose. As for "when", that depends on when you'd like to make them available to the rest of the applicat

Newbie Question about Assistant request for URL

2005-11-16 Thread David Howes
HI All, I was going through the "Admissions" tutorial in the "WebObjects Java Client Programming Guide" on Xcode 2.1, with the WebObjects Direct to Java Client Application (Three Tier) Project Template. The guide says to open Assistant from the Tools menu, but it wasn't there. I opened W

Re: SharedEditingContext Write Locks?

2005-11-16 Thread Lachlan Deck
Hi there, On 17/11/2005, at 10:45 AM, Ben Trumbull wrote: People successfully use shared ECs in concurrent apps, although updating shared objects is very difficult to do correctly. I've seen it done by taking a large granularity lock in the request handler. However, the following approach

Re: SharedEditingContext Write Locks?

2005-11-16 Thread Ben Trumbull
K. Here's the secret: EOSharedEditingContexts are NOT EOEditingContexts. They are only for use as an argument to setSharedEditingContext() and their own explicit API. They work best by using their API to fetch objects you wish to share into the context, and then creating real EOEditingCon

Re: EO_PK_TABLE and auto_increment

2005-11-16 Thread Corin Lawson
Furthermore, if I'm wrong in my assumption it should be possible for the plugin (or the channel?) to maintain a space of new PKs. I would need to know more about the life of the objects involved to make those decisions. Corin. On 17/11/2005, at 9:23 AM, Corin Lawson wrote: Then the row mus

Re: EO_PK_TABLE and auto_increment

2005-11-16 Thread Corin Lawson
Then the row must be inserted and then deleted immediately, it's a fudge but it won't need to happen everytime. Although I would like to know more about how oef uses the newPrimaryKeys method. Does it request batches of PKs to be used at a later time? If so, can that number be increased?

Re: Missing palette with WO 5.3.1: found a bug!

2005-11-16 Thread Art Isbell
On Nov 16, 2005, at 10:21 AM, Alexander Lamb wrote: Here is what I get in the console for trying to load the palette: = Wednesday, November 16, 2005 9:17:24 PM Europe/Zurich = java.lang.NoSuchMethodError at com.webobjects.foundation.NSNumberFormatter._addThousandSeparatorsToPa ttern

Re: Missing palette with WO 5.3.1: found a bug!

2005-11-16 Thread Dev WO
Did you try deleting (backing up first) the preference file of interface builder? Xavier Here is what I get in the console for trying to load the palette: = Wednesday, November 16, 2005 9:17:24 PM Europe/Zurich = java.lang.NoSuchMethodError at com.webobjects.foundation.NSNumberF

Re: Missing palette with WO 5.3.1: found a bug!

2005-11-16 Thread Alexander Lamb
Here is what I get in the console for trying to load the palette: = Wednesday, November 16, 2005 9:17:24 PM Europe/Zurich = java.lang.NoSuchMethodError at com.webobjects.foundation.NSNumberFormatter._addThousandSeparatorsToPatt ern(NSNumberFormatter.java:1529) at com.webobjects.found

Re: Missing palette with WO 5.3.1?

2005-11-16 Thread Alexander Lamb
Well, Probably the right direction, but it didn't work. When I try to load the palette (EnterpriseObjects), it gives me the following error: "The Enterprise Objects Framework can't be initialized correctly!" Then, IB freezes and I have to kill it. I followed what was said in the release not

Re: 5.3.1: license confusion!

2005-11-16 Thread Ken Anderson
Cliff, if we send a case of beer to Apple with your name on it, will you get it? On Nov 16, 2005, at 2:21 PM, Guido Neitzer wrote: On 16.11.2005, at 19:24 Uhr, Cliff Tuel wrote: No, that's old, for 4.5.1 through 5.2 I believe. As for the original question, I'm hoping to have an answer soon

Re: 5.3.1: license confusion!

2005-11-16 Thread Guido Neitzer
On 16.11.2005, at 19:24 Uhr, Cliff Tuel wrote: No, that's old, for 4.5.1 through 5.2 I believe. As for the original question, I'm hoping to have an answer soon. -- Cliff Tuel . http://apple.com/services/technicalsupport If this hasn't been said: Thank you, Cliff, for your support for this

Re: 5.3.1: license confusion!

2005-11-16 Thread Cliff Tuel
>> where can i buy this 5.3.1 license which is usable on Linux and >> other systems? The one from 5.3.1 development (coming with xcode >> 2.2) and the one from osx tiger server are not compatible with >> linux deployment. I really wonder where and how i can get a valid >> official license. > Try t

Re: XCODE 2.2 installer error

2005-11-16 Thread Dev WO
Hi David, I installed on a PowerBook G4 and a PowerMac Dual 1.42 and the installation went fine (on a previous Xcode 2.1, the WWDC one). Are you sure you're under 10.4.3, I think it is a requirement. I don't know if the installer writes any log, but try launching Consol in Applications>Utilit

XCODE 2.2 installer error

2005-11-16 Thread David Griffith
Hi all, Anyone else encounter an 'error has occurred during installation, please try again' ?? I've tried many times, still won't work and it has half installed so now I can't build. Regards, David. ___ Do not post admin requests to the list. T

Re: EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug

2005-11-16 Thread Dev WO
Still doesn't work even after restart... On 16-Nov-05, at 11:09 AM, Dev WO wrote: I filled the column/table name. To make sure, I tried on a previous EOModel that worked, and same error, so bugreport tonight;) But now I feel stupid, because I don't know how to generate my table in MySQL

Re: EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug

2005-11-16 Thread David LeBer
On 16-Nov-05, at 11:09 AM, Dev WO wrote: I filled the column/table name. To make sure, I tried on a previous EOModel that worked, and same error, so bugreport tonight;) But now I feel stupid, because I don't know how to generate my table in MySQL:( I was able to add the first primary key,

Re: EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug

2005-11-16 Thread Dev WO
On 16-Nov-05, at 10:52 AM, Dev WO wrote: Hi list, just want to make sure it's not my personal setup that cause this bug: If I create a new many-to-many relationship in EOModeler (standalone, not the plugin), when I try to generate the SQL I get: -- ObjCJava WARNING: An error has occur

Re: Sun Application server JDBC

2005-11-16 Thread 時期 精霊
For information, the following code work inside my app: try { InitialContext context = new InitialContext(); DataSource ds = (DataSource) context.lookup("java:comp/env/jdbc/ Nadesico"); NSLog.out.appendln("Datasource = " + ds);

Re: EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug

2005-11-16 Thread Dev WO
I filled the column/table name. To make sure, I tried on a previous EOModel that worked, and same error, so bugreport tonight;) But now I feel stupid, because I don't know how to generate my table in MySQL:( I was able to add the first primary key, but it seems I cannot add the second one

Re: EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug

2005-11-16 Thread David LeBer
On 16-Nov-05, at 10:52 AM, Dev WO wrote: Hi list, just want to make sure it's not my personal setup that cause this bug: If I create a new many-to-many relationship in EOModeler (standalone, not the plugin), when I try to generate the SQL I get: -- ObjCJava WARNING: An error has occurred

Re: Missing palette with WO 5.3.1?

2005-11-16 Thread Dev WO
Hi Alex, are you talking about the palette for Interface Builder? if it's the case, I think there's something in the release note. I think it has been moved, but it's still there. Have a look at the release note and/or KBase. Xavier Hello, I just installed the latest. It looks like the

Missing palette with WO 5.3.1?

2005-11-16 Thread Alexander Lamb
Hello, I just installed the latest. It looks like the JavaEOPalette necessary for JavaClient is missing. Is it replace? Somewhere else? Can I recuperate a previous version? Thanks, Alex -- Alexander Lamb Service d'Informatique Médicale Hôpitaux Universitaires de Genève [EMAIL PROTECTED] +41

Re: EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug

2005-11-16 Thread Arturo Perez
Dev WO wrote: Hi list, just want to make sure it's not my personal setup that cause this bug: If I create a new many-to-many relationship in EOModeler (standalone, not the plugin), when I try to generate the SQL I get: -- ObjCJava WARNING: An error has occurred in the Java Bridge. You s

EOModeler 5.3 (Xcode2.2) many-to-many SQL generation bug

2005-11-16 Thread Dev WO
Hi list, just want to make sure it's not my personal setup that cause this bug: If I create a new many-to-many relationship in EOModeler (standalone, not the plugin), when I try to generate the SQL I get: -- ObjCJava WARNING: An error has occurred in the Java Bridge. You should try to s

Re: Sun Application server JDBC

2005-11-16 Thread 時期 精霊
Hi again, After much search and try, I found the following: INFO 2005-11-16 16:06:08,992 [httpWorkerThread-80-2] - javax.naming.NameNotFoundException: No object bound to name java:comp/ env/jdbc/java:comp/env/jdbc/Nadesico at com.sun.enterprise.naming.NamingManagerImpl.lookup (Nami

Re: WOTextField

2005-11-16 Thread David LeBer
On 16-Nov-05, at 9:30 AM, leila nemmiche wrote: He every body, Here is my problem: I have a WOTextField bound to an Integer property. When I build my application, a zero appears in it. I just want to have an empty zone in the beginning of the application!! what to do? Thanks to all for yo

Re: WOTextField

2005-11-16 Thread Ken Anderson
Bind it to a string, and convert the string to a number when you need it.On Nov 16, 2005, at 9:30 AM, leila nemmiche wrote: He every body, Here is my problem: I have a WOTextField bound to an Integer property. When I build my application, a zero appears in it. I just want to have an empty zon

WOTextField

2005-11-16 Thread leila nemmiche
He every body, Here is my problem: I have a WOTextField bound to an Integer property. When I build my application, a zero appears in it. I just want to have an empty zone in the beginning of the application!! what to do? Thanks to all for your help.   leila Appel audio GRATUIT partout

Re: WebObjects 5.3.1 Redirect bug?

2005-11-16 Thread Dev WO
Ok I understand now;) I think 5.3.2 should be coming quite soon as there are quite some issue left in 5.3.1;) Xavier On 16-Nov-05, at 5:24 AM, Dev WO wrote: I don't think the bug is in the hyperlink generation, because it was doing this in 5.2.2 and before (which isn't that old;)) and

Re: WebObjects 5.3.1 Redirect bug?

2005-11-16 Thread David LeBer
On 16-Nov-05, at 5:24 AM, Dev WO wrote: I don't think the bug is in the hyperlink generation, because it was doing this in 5.2.2 and before (which isn't that old;)) and no one mentioned a bug about this. And at least the & in the source code of the (X)HTML is the correct way of doing it.

Re: More newbie questions

2005-11-16 Thread Arturo Perez
Randy Becker wrote: On Nov 15, 2005, at 7:59 PM, Lachlan Deck wrote: then you want item.possessor.address Where are you trying to do this? e.g., WebObjects Builder makes it easy to navigate the key-paths and connect the attribute in question to the display... I must be doing something w

Re: empty replay

2005-11-16 Thread Patrick Middleton
On 16 Nov 2005, at 11:31, Georg Tuparev wrote: Robert, Thanks for the suggestion. The problem is neither with curl nor with the DA. I tested this excessively. It is something in the middle that breaks (WO adaptor perhaps)... but I am really tapping in the dark... cheers gt I agree.

Re: empty replay

2005-11-16 Thread Georg Tuparev
Robert, Thanks for the suggestion. The problem is neither with curl nor with the DA. I tested this excessively. It is something in the middle that brakes (WO adaptor perhaps)... but I am really tapping in the dark... cheers gt On Nov 15, 2005, at 3:57 PM, Robert Walker wrote: Have you c

Re: WebObjects 5.3.1 Redirect bug?

2005-11-16 Thread Dev WO
Hi there, On 16/11/2005, at 10:12 AM, Dev WO wrote: I filled the bug you mentioned and yes it has been fixed: an hyperlink must have its & escaped to & and it is now working correctly (again as it was working fine in 5.2.2 and earlier). This *fix* might be the cause of the new problem...

CORRECTION: Re: More newbie questions

2005-11-16 Thread Wolfram Stebel
Am 15.11.2005 23:46 Uhr schrieb "Randy Becker" unter <[EMAIL PROTECTED]>: You already received valuable information on the other topics. > And finally, how can I do something like the WOExamples > WXCheckBoxList - I tried importing some of the frameworks in the > examples project, but couldn't ge

Re: framework images do not appear in a deployed application

2005-11-16 Thread Clive Roberts
>> Check to see if this framework WebServer resources are in the / >> Library/WebServer/Documents/WebObjects/Frameworks directory. >> >> If you have multiple sites on the same webserver, I have found that >> you need to have the WebObjects/Frameworks directory under each these >> directories popul

Re: More newbie questions

2005-11-16 Thread Wolfram Stebel
Am 15.11.2005 23:46 Uhr schrieb "Randy Becker" unter <[EMAIL PROTECTED]>: You already received valuable information on the other topics. > And finally, how can I do something like the WOExamples > WXCheckBoxList - I tried importing some of the frameworks in the > examples project, but couldn't ge