Running the Web Assistant With appletviewer
If you browser is incapable of running applets, or if you want to run the Web Assistant in a different machine from your browser, you can launch the Web Assistant using the Java program appletviewer . To do this:
- Launch your application with the command-line option D2WWebAssistantEnabled set to YES .
-
In the console output look for a line similar to the following:
Jul 23 10:29:48 D2WTest[527] Server-side WebAssistant launch line:
appletviewer http://localhost:8888/cgi-
bin/WebObjects/D2WTest.woa/wa/D2WActions/openWebAssistant - Open a shell such as provided by the Terminal application on Mac OS X Server systems or the Bourne Shell on Yellow Box for Windows systems.
- Copy the string from "appletviewer" to "openWebAssistant" to the shell and press Return (or Enter). If the port number is -1, look in the console output for the actual port number of the application and substitute that.
A standalone Web Assistant has exactly the same functionality as one launched inside your browser. However, if the browser you are using is not Java-enabled, your pages are not automatically refreshed after you click Update. You must either click your browser's "reload" or "refresh" button or (when you are picking a new type of page, such as a MasterDetails page instead of a ListPage), you will have to re-navigate to the same page.
© 1999 Apple Computer, Inc. (Last Updated July 27 99)