Re: Question about fetching

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 7:22 AM, Francesco Romano wrote: On 21/lug/09, at 16:16, Chuck Hill wrote: On Jul 21, 2009, at 6:57 AM, Francesco Romano wrote: I want to say that this is the first time I do something dynamic for the web (like an e-commerce site, or a web app) and it's not my job..

Re: Question about fetching

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 6:57 AM, Francesco Romano wrote: I want to say that this is the first time I do something dynamic for the web (like an e-commerce site, or a web app) and it's not my job.. I'm a student and I'm doing a favor to my father... So... I'm open to every advices, even not relat

Re: Question about fetching

2009-07-21 Thread Pascal Robert
Le 09-07-21 à 09:57, Francesco Romano a écrit : I want to say that this is the first time I do something dynamic for the web (like an e-commerce site, or a web app) and it's not my job.. I'm a student and I'm doing a favor to my father... So... I'm open to every advices, even not related to

Re: Question about fetching

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 3:19 AM, Francesco Romano wrote: Thanks to both. I read that chapter in the Apple documentation. If I understand correctly the globalID has its scope in the editingcontext. No. An EOEnterpriseObject has scope in an EOEditingContext, each is a unique Java Object. An E

Re: Question about fetching

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 12:56 AM, Francesco Romano wrote: Hi.. This is a simple (and maybe stupid) question. No. :-) I'm doing an application (an e-commerce application.. maybe wo is not the best choice, but I know java better than ruby..), and I've some pages accessed with directaction. M

Re: Question about fetching

2009-07-21 Thread Francesco Romano
I want to say that this is the first time I do something dynamic for the web (like an e-commerce site, or a web app) and it's not my job.. I'm a student and I'm doing a favor to my father... So... I'm open to every advices, even not related to WO. Now, my ideas (maybe I've already written thi

Re: Question about fetching

2009-07-21 Thread Christian Trotobas
On 21 juil. 2009, at 15:19, Francesco Romano wrote: On 21/lug/09, at 12:43, Christian Trotobas wrote: On 21 juil. 2009, at 12:19, Francesco Romano wrote: Thanks to both. I read that chapter in the Apple documentation. If I understand correctly the globalID has its scope in the editingco

Re: Question about fetching

2009-07-21 Thread Francesco Romano
On 21/lug/09, at 12:43, Christian Trotobas wrote: On 21 juil. 2009, at 12:19, Francesco Romano wrote: Thanks to both. I read that chapter in the Apple documentation. If I understand correctly the globalID has its scope in the editingcontext. I don't know why but I create a new editing cont

Re: Question about fetching

2009-07-21 Thread Christian Trotobas
On 21 juil. 2009, at 12:19, Francesco Romano wrote: Thanks to both. I read that chapter in the Apple documentation. If I understand correctly the globalID has its scope in the editingcontext. I don't know why but I create a new editing context for each page... so this is bad. Should I keep

Re: Question about fetching

2009-07-21 Thread Francesco Romano
Thanks to both. I read that chapter in the Apple documentation. If I understand correctly the globalID has its scope in the editingcontext. I don't know why but I create a new editing context for each page... so this is bad. Should I keep a single editing context? (until a customer add the f

Re: Question about fetching

2009-07-21 Thread Christian Trotobas
Hi Francesco On 21 juil. 2009, at 09:56, Francesco Romano wrote: Hi.. This is a simple (and maybe stupid) question. No question is stupid on this list. Feel free to ask. I'm doing an application (an e-commerce application.. maybe wo is not the best choice, but I know java better than ruby.

Re: Question about fetching

2009-07-21 Thread Andrew Lindesay
Hello Francesco; You can construct an EOGlobalID from the primary key an fault it. I would generally not advocate using the primary key in this manner as it may be volatile owing to migration of schema or database product migration. That concern aside, assuming you have a primary key and

Question about fetching

2009-07-21 Thread Francesco Romano
Hi.. This is a simple (and maybe stupid) question. I'm doing an application (an e-commerce application.. maybe wo is not the best choice, but I know java better than ruby..), and I've some pages accessed with directaction. Maybe I'm wrong, but I can pass values to a page only with the url, s