• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
D2JC: problem with login window from documentation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

D2JC: problem with login window from documentation


  • Subject: D2JC: problem with login window from documentation
  • From: Alexander Lamb <email@hidden>
  • Date: Wed, 02 Apr 2003 10:18:57 +0200

Hello list,

I didn't have much success on the Omni list with my question, so I'll try
here (hopefully, some Apple engineers are reading:-)

I am trying to follow the example chapter 25 of the WODesktopApp manual
adding a login panel to a Direct to JavaClient app.
The login panel never appears  and when I run the app from JavaWebStart I
get the following message in the console:

com.apple.macos.useScreenMenuBar has been deprecated. Please switch to
apple.laf.useScreenMenuBar
apple.awt.EventQueueExceptionHandler Caught Throwable :
java.lang.IllegalArgumentException: Controller class not found:
OrMedEditor.client.LoginPanelInterfaceController
    at
com.webobjects.eoapplication.EOController._newController(EOController.java:2
21)
    at
com.webobjects.eoapplication.EOApplication.finishInitialization(EOApplicatio
n.java:1186)
    at
com.webobjects.eogeneration.EODynamicApplication.finishInitialization(EODyna
micApplication.java:108)
    at
com.webobjects.eoapplication.EOApplication$1.run(EOApplication.java:513)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
    at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:230)
    at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:183)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

What I did is:

0. Create a new Direct To JavaClient project
1. Create a nib file (from probject builder) and set it as 3WebServer2 as
well as its controller class
(OrMedEditor.client.LoginPanelInterfaceController).
2. Implement the outlets and actions
3. Open the JavaClient.wo and add a value for the
interfaceControllerClassName:
4.         interfaceControllerClassName =
"OrMedEditor.client.LoginPanelInterfaceController";
5. Leave applicationClassName as it was
6. downloadClientClasses = 3customeBundlesClientClasses2

The class does not seem to be known? But it does compile!  The other thing I
don9t understand is that in some examples I see projects have
3ClientSideJava.subproj2 in the project but not in mine. Why?

It is rather frustrating to have such a simple example and not knowing how
to trace the problem!
Any hint?

Thanks

(WO 5.2.1 + Java 1.4.1 + MacOSX 10.2.4)
_______________________________________________
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.

  • Follow-Ups:
    • Re: D2JC: problem with login window from documentation
      • From: Art Isbell <email@hidden>
  • Prev by Date: Re: Delegation
  • Next by Date: [newbie] General question about WO/Java Client
  • Previous by thread: Re: Delegation
  • Next by thread: Re: D2JC: problem with login window from documentation
  • Index(es):
    • Date
    • Thread