EOF cocoa app
EOF cocoa app
- Subject: EOF cocoa app
- From: Ricardo Strausz <email@hidden>
- Date: Tue, 28 Jan 2003 15:07:15 -0600
Dear Enrico,
I think that i found the problem: in a window an NSScrollView was
connected to a DisplayGroup, trying to display a "text" aribute; this
was also making noise in the JavaC app until it was changed for an
NSTextField.
So, I am back in the track to develop CocoaEOF apps ---the best
enviroment of OSX---
Thanks for all your help
dino
On sabado, ener 4, 2003, at 15:18 America/Mexico_City, Enrico Stamigna
wrote:
Hello,
Venerdl, gennaio 3, 2003, alle 12:45 , Ricardo Strausz ha scritto:
Hello,
you know something, i will try Java Client (I have to deploy asap)
and after that, I come back to cocoa/eof... it simply do not go
transparently (at least in my configuration, which I think is quite
standard... except, maybe, becouse I use Sybase).
I hope we can continue with this later...
How did you get into cocoa/eof?
are you deploying some app??
which size?
I needed some applications for my own use (I'm a user, not a
developer).
In the beginning I developed these applications with a JavaClient
interface, so they were cross-platform.
But:
They were slow (slower than CocoaEOF), I couldn't use palettes,
drawers, browsers and other things I like in applications I use, Swing
is too much complex for my taste, and others problems.
So I decided to use Cocoa.
I have the model and EnterpriseObjects classes inside a framework
whose size is 428Kb.
The main application has a size of 456Kb.
There are other little and simple utilities to edit some tables.
I haven't optimized my code and it hasn't a good quality, but despite
this my apps are stable and work as expected.
May be if you see the model you may find an error... it is attached.
I tried your model.
This is what I've done:
- changed the connection dictionary to access my database server
(Mysql);
- created a new database "TestAlma";
- changed attributes with "money" external type to "DECIMAL" type (the
corresponding type for Mysql);
- created tables inside "TestAlma" database using Generate SQL;
- created a new Cocoa EOF Application with your model;
- opened your model;
- opened 'Main.nib';
- dragged "tarticuloss" relation to Main.nib's window;
- dragged "tmovimientosa" relation to Main.nib's window;
- deleted the second of the "Tarticulos" tables;
- deleted the "Tarticulos" DisplayGroup;
- connected "tmovimientosa" DisplayGroup to "tarticuloss" DisplayGroup
so that the second one becomes the parent of the first one in a
MasterDetailAssociation;
- added some buttons to create new objects and save changes;
- added an application delegate to activate logging;
- tested "Main.nib" in InterfaceBuilder: no errors;
- tested application starting it by ProjectBuilder: no errors;
- tested application doubleclicking on it: no errors.
I cannot reproduce what you are experiencing.
I send you my project and the application, so you can test them.
<Alma.tar.gz><Alma.app.tar.gz>
Do they give you the same errors as before?
Enrico Stamigna
P.S.: You sent me your model containing your connection dictionary
(including your userId and password in a readable format), if they
give access to important data you should change them.
Dino
http://homepage.mac.com/strausz
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.