RE: NIB in Java Client-anyone?
RE: NIB in Java Client-anyone?
- Subject: RE: NIB in Java Client-anyone?
- From: Theo Howell <email@hidden>
- Date: Fri, 10 Dec 2004 11:42:24 +1100
I am using non-direct java client under xcode 1.5/WO 5.2.2 on a daily
basis and it works fine. Like others have said 5.2.3 has some issues so
stick to 5.2.2 or before. On top of that, under xcode 1.5 new interface
files/java files/components, that you create via the "New File"
command, don't always get added to the project correctly (eg source
files have been known to get put in bundled resources of the target,
instead of the source files build phase. You'll know if you have this
problem if you get ClassNotDef errors or "unable to load EOArchive.."
in the consol.
Also be aware that NIB files are only used to create the interface.
Every time you hit save in IB it generates the swing java code, for
what you have built, inside of the NIB. It is this swing source code
which is used when you actually run your program and fire up that
interface controller.
Hope this helps,
Theo
-----Original Message-----
From: webobjects-dev-bounces+pierre.bernard=email@hidden
[mailto:webobjects-dev-
bounces+pierre.bernard=email@hidden]On Behalf Of Andres
Toussaint
Sent: Thursday, December 09, 2004 4:32 AM
To: WebObjects (Group)
Subject: NIB in Java Client-anyone?
Has anyone successfully used the Java Client option of WebObjects with
non-direct Java Client generation?
How to use a NIB file from Interface Builder in the Java Client?
Specifically, what it appears to happen is that the NIB's owner is not
properly specified, as indicated in the API for EOArchive, " ...It is
important that the file's owner of the interface file is specified
correctly in Interface Builder..." but there is no clear way to assign
the owner in the NIB, since in xCode 1.5-Interface Builder (2.4.2
v364). When selecting the File's Owner icon and "Show Info", the
attributes pane indicates "Not Applicable"
Is there a workaround to this problem? Or Direct to Java Client in non
direct mode is simply not working?
Andres.
_______________________________________________
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