Re: Entity/attribute/relationship terrible toString?

2020-06-02 Thread ocs--- via Webobjects-dev
Aaron, > On 2. 6. 2020, at 7:40 PM, Aaron Rosenzweig wrote: > Generally I don’t have logging coming out about relationships nor the object > graph. Yea, same here; in decades of using WO I've bumped into the model class toString madness just a couple of times, neither of them serious.

Re: Entity/attribute/relationship terrible toString?

2020-06-02 Thread Aaron Rosenzweig via Webobjects-dev
Hi OC, Yeah we missed your point. We gave you advice about the EO but not the relationships. Generally I don’t have logging coming out about relationships nor the object graph. I suppose you’ll have to look at what is generating those logs and have some sort of preprocessor that does

Re: Entity/attribute/relationship terrible toString?

2020-06-02 Thread Jesse Tayler via Webobjects-dev
EOF uses this template system -- don’t think of it as generated code but rather boiler plates no different than using Wonder or even a library to do math. Read the code and you’ll see it’s quite intelligently surrounding your object model with useful, reliable foundations that are valuable.

Re: Entity/attribute/relationship terrible toString?

2020-06-02 Thread ocs--- via Webobjects-dev
Paul, > On 2. 6. 2020, at 2:05 PM, Paul Yu wrote: > There are two templates _EO and EO.java that are used by eogenerate to create > your EO classes. If you open your Eogenerate File you can see where your > templates are. Can't recall anything like that from WO. Isn't that some

Re: Sign in with apple?

2020-06-02 Thread Jesse Tayler via Webobjects-dev
> On Jun 1, 2020, at 9:40 PM, Ray Kiddy wrote: > > > Somebody comes in to the app, I get their e-mail address and sent them an > "invite" into the app. This is exactly as secure as any password-storage > system that uses e-mail to reset passwords This means the user has to invoke a new

Re: Entity/attribute/relationship terrible toString?

2020-06-02 Thread Hugi Thordarson via Webobjects-dev
You could also specify your own EO superclass in the EOModel and override toString() globally in that class, right? That way you can avoid messing with the EOGenerator templates. (disclaimer: it's been a while since I've touched EOF) Cheers, - hugi > On 2 Jun 2020, at 12:05, Paul Yu via

Re: Entity/attribute/relationship terrible toString?

2020-06-02 Thread Jérémy DE ROYER via Webobjects-dev
Have a look in Eclipse > Preferences > WOLips > EOGenerator to find your files path. Jérémy Le 2 juin 2020 à 14:05, Paul Yu via Webobjects-dev mailto:webobjects-dev@lists.apple.com>> a écrit : There are two templates _EO and EO.java that are used by eogenerate to create your EO classes. If

Re: Entity/attribute/relationship terrible toString?

2020-06-02 Thread Markus Ruggiero via Webobjects-dev
When you create your EOModel you also designate Java classes that should model the Java side of life. In Eclipse you then have to "EOGenerate" the class files. This generation is template driven. You can find the Wonder Templates as part of the Wonder Source. Take them, modify them to your

Re: Entity/attribute/relationship terrible toString?

2020-06-02 Thread Paul Yu via Webobjects-dev
There are two templates _EO and EO.java that are used by eogenerate to create your EO classes. If you open your Eogenerate File you can see where your templates are. Paul Sent from my iPhone Please excuse iOS autocomplete > On Jun 2, 2020, at 7:04 AM, OCsite via Webobjects-dev > wrote: >

Re: Entity/attribute/relationship terrible toString?

2020-06-02 Thread OCsite via Webobjects-dev
Markus, > On 2 Jun 2020, at 12:09, Markus Ruggiero wrote: > Why not simply override toString() in EOGenerate templates once and for all? What are “EOGenerate templates” and how they affect the entities/attributes/relationships toStrings? I can't find anything like that in my WO documentation.

Re: Entity/attribute/relationship terrible toString?

2020-06-02 Thread Markus Ruggiero via Webobjects-dev
Why not simply override toString() in EOGenerate templates once and for all? > On 2 Jun 2020, at 01:52, ocs--- via Webobjects-dev > wrote: > > Hi there, > > occasionally, I need to put entities/attributes/relationships into complex > nested property lists. Occasionally for debug, I need to