Hello.
HMM... Sorry to bother.. that indeed changed the extend to ERXGenericRecord.
but no generation of
public static final ERXKey<String> NAME = new ERXKey<String>("name");
public static final ERXKey<String> PASS = new ERXKey<String>("pass");
jsut the
public static final String NAME_KEY = "name";
public static final String PASS_KEY = "pass";
G.
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 protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/ramsey%40xeotech.com
>>
>> This email sent to [email protected]
>>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]