> --
>
> Message: 7
> Date: Fri, 13 Jul 2012 09:52:40 -0700
> From: Ramsey Gurley
> To: Maik Musall
> Cc: WebObjects Development
> Subject: Re: Problem EOEditingContext
> Message-ID:
> Content-Type: text/plain; charset=us-ascii
>
On Jul 13, 2012, at 2:23 AM, Maik Musall wrote:
>
> Am 13.07.2012 um 01:20 schrieb Ramsey Gurley:
>
>>
>> On Jul 12, 2012, at 3:26 PM, Maik Musall wrote:
>>
>>>
>>> Am 12.07.2012 um 23:58 schrieb Louis Demers:
User newUser = (User)EOUtilities.createAndInsertInstance(ec,
User.ENTIT
newUser(ec) or User(ec).
- Original Message -
From: "Maik Musall"
To: "WebObjects Development"
Sent: Friday, July 13, 2012 5:23 PM
Subject: Re: Problem EOEditingContext
Am 13.07.2012 um 01:20 schrieb Ramsey Gurley:
On Jul 12, 2012, at 3:26 PM, Maik Musall wro
Am 13.07.2012 um 01:20 schrieb Ramsey Gurley:
>
> On Jul 12, 2012, at 3:26 PM, Maik Musall wrote:
>
>>
>> Am 12.07.2012 um 23:58 schrieb Louis Demers:
>>> User newUser = (User)EOUtilities.createAndInsertInstance(ec,
>>> User.ENTITY_NAME) ;
>>
>> Much too wordy for my taste, and needs a cast
On 2012-07-12, at 3:49 PM, Hugo Cambero wrote:
> Thanks for your answers, yes I found a method like this:
>
> public static User createUser(EOEditingContext editingContext, String
> maternalName
> , String name
> , String password
> , String paternalName
> , String username)
Any attributes in
On Jul 12, 2012, at 3:26 PM, Maik Musall wrote:
>
> Am 12.07.2012 um 23:58 schrieb Louis Demers:
>> User newUser = (User)EOUtilities.createAndInsertInstance(ec,
>> User.ENTITY_NAME) ;
>
> Much too wordy for my taste, and needs a cast on top of it. Just add a second
> constructor in your templ
Thanks for your answers, yes I found a method like this:
public static User createUser(EOEditingContext editingContext, String
maternalName
, String name
, String password
, String paternalName
, String username)
But I prefer to user the method like this:
User newUser = ERXEOControlUtilities.crea
Oh, I like that!
-Lon
On Thu, Jul 12, 2012 at 3:26 PM, Maik Musall wrote:
>
> Am 12.07.2012 um 23:58 schrieb Louis Demers:
>> User newUser = (User)EOUtilities.createAndInsertInstance(ec,
>> User.ENTITY_NAME) ;
>
> Much too wordy for my taste, and needs a cast on top of it. Just add a second
>
Hola Hugo,
Bienvenido!
If you are using the EOGenerate templates for your EO classes you'll also find
this code is generated for you. For example in my _Person.java class:
public static com.wowodc.model.Person createPerson(EOEditingContext
editingContext) {
com.wowodc.model.Person eo = (
Am 12.07.2012 um 23:58 schrieb Louis Demers:
> User newUser = (User)EOUtilities.createAndInsertInstance(ec,
> User.ENTITY_NAME) ;
Much too wordy for my taste, and needs a cast on top of it. Just add a second
constructor in your template which does ec.insertObject(this), so that you can
simply
On 2012-07-12, at 2:46 PM, Hugo Cambero wrote:
> Hi Everybody
>
> My name is Hugo, I'm from Mexico. I have been developing using WebObjects and
> Wonder Frameworks, I'm newbie in this topic.
>
> Well, I have a problem, I hope you can help me. I'm developing a test
> application, I want to lea
Thanks for your recommendation Johann Wernet
Yes, you are right, I have a problem with my model, I'll change it, and
I'll seek about ERXEOControlUtilities
Regards
On Thu, Jul 12, 2012 at 1:56 PM, Johann Werner wrote:
> Hi Hugo,
>
> welcome to WO!
>
> Am 12.07.2012 um 20:46 schrieb Hugo Cambero
Hi Hugo,
welcome to WO!
Am 12.07.2012 um 20:46 schrieb Hugo Cambero:
> Hi Everybody
>
> My name is Hugo, I'm from Mexico. I have been developing using WebObjects and
> Wonder Frameworks, I'm newbie in this topic.
>
> Well, I have a problem, I hope you can help me. I'm developing a test
> app
¡Hola Hugo!
On 2012-07-12, at 11:46 AM, Hugo Cambero wrote:
> Hi Everybody
>
> My name is Hugo, I'm from Mexico. I have been developing using WebObjects and
> Wonder Frameworks, I'm newbie in this topic.
Welcome!
> Well, I have a problem, I hope you can help me. I'm developing a test
> app
14 matches
Mail list logo