Re: why EOGenericRecord and no ERXGenericRecord generation?
Re: why EOGenericRecord and no ERXGenericRecord generation?
- Subject: Re: why EOGenericRecord and no ERXGenericRecord generation?
- From: Gustavo Pizano <email@hidden>
- Date: Fri, 30 Apr 2010 15:37:58 +0200
I think I know
I hadn't set the templateS!!!
:O:O
On Apr 30, 2010, at 3:29 PM, Ramsey Gurley wrote:
> Hi Gustavo,
>
> You just need to set that in your eogenerator file. If you click on YourModel.eogen and look under the heading "Defines" you need to click the "Add" button there. The name should be EOGenericRecord and the value would be ERXGenericRecord in your case or any other base class you'd like to use for your generated files.
>
> Ramsey
>
> On Apr 30, 2010, at 9:18 AM, Gustavo Pizano wrote:
>
>> Hello.
>>
>> well after such a long time without coding in WO, and yesterday I started some new project, I created as always my Wonder Project, created the EOModel, Migraction class, and created the EO's clcikign the EOGenerate.
>>
>> Now I realize that I needed to do a simple qualifier, User.NAME.eq(name).and(User.PASS.eq(pass));
>>
>> but then NAME and PASS weren't declared, I went to the _User.java file and realize that just NAME_KEY and PASS_KEY were created, and then I saw that my EO extends EOGenericRecord and not ERXGenereicRecord..
>>
>> Did I miss something while I was gone, or what am I doing worng?
>>
>> Gustavo
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden