Re: D2J
Re: D2J
- Subject: Re: D2J
- From: Rob Caljouw <email@hidden>
- Date: Wed, 28 May 2003 21:49:05 -0400
On 5/28/03 8:57 PM, "B. Shank" <email@hidden> wrote:
> On Wednesday, May 28, 2003, at 04:27 PM, Rob Caljouw wrote:
>
>> Hi list,
>>
>> Is anyone familiar with the initialization that take place when a D2JC
>> application starts? The application works well when it starts as a
>> normal
>> EODynamicApplication.
>> However, when I add a Login screen, based on the
>> example in "Building a Login Window" section of the Java Client Desktop
>> Applications book the menus do not appear.
>
> Any good reason why you're not using the JCAuthentication framework ini
> 5.2? It would make your life much easier!
I'm looking at that now. The example in the book was just quicker to
implement.
>
>> There is only the main
>> application menu and an Edit menu.
>
> What other menus do you expect/want to appear?
A D2JC application has Document, Edit, Tools and Window menus and I would
like to have them all available. It makes life a bit tedious for the user
without the Document menu in that they have to keep the original query
window open all the time. It is the Document menu that provides the New...,
Open... and Search... actions.
>
>>
>> I also had to explicitly add Class.forName() to the Application class
>> because it did not load the appropriate JDBC drivers for the multiple
>> models
>> in the application.
>
> This sounds suspicious. Can you explain more about why you had to do
> this?
>
That's the question, I don't know why. When I start the application without
the login screen, just a normal D2J application everything was fine with all
three models. Two of the models use FrontBase and the third accesses an
AS400 running OS400 5.1. I turned on debugging and when the application
tried to access the AS400 it had the correct URL but tried to load the
FrontBase driver. I added the Class.forname() calls in the Application
method and all was well. I presumed something wasn't being initialized with
respect to the eomodel files.
>>
>> The Apple document describes removing menus and menu items but I
>> couldn't
>> find any information on adding them. I don't want any extra functions
>> just
>> the normal menus and items available.
>
> I think there's a chapter called Adding Custom Menu Items.
Yes there is but it strikes me as odd that the standard menus don't show up.
There is also a chapter on restricting access where they describe how to
override the actions in the Document menu but I no longer have one to worry
about.
>
>>
>> Everything else appears to function just fine but I wonder what else
>> does
>> not get initialized properly.
>>
>> Any suggestions would be greatly appreciated.
>>
>> Thanks in advance,
>>
>> --
>> R.J. (Rob) Caljouw, P.Eng.
>> President
>> Bennett Technology Group, LLC.
>> Phone: 770-957-1866 (537)
>> _______________________________________________
>> 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.
> _______________________________________________
> 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.
--
R.J. (Rob) Caljouw, P.Eng.
President
Bennett Technology Group, LLC.
Phone: 770-957-1866 (537)
_______________________________________________
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.
References: | |
| >Re: D2J (From: "B. Shank" <email@hidden>) |