Re: D2JC: problem with login window from documentation
Re: D2JC: problem with login window from documentation
- Subject: Re: D2JC: problem with login window from documentation
- From: Alexander Lamb <email@hidden>
- Date: Thu, 03 Apr 2003 10:17:43 +0200
I thought I might do a small checklist to see if I understand things
correctly:
1.
To have the login panel appear upon startup (panel made with a nib) the only
thing to do is to ADD a binding to the JavaClient.wod such as:
interfaceControllerClassName = "LoginPanelInterfaceController";
(I didn't put the class in a package, even when I do, no change)
2.
In the JavaClient.wod I must leave the following bindings:
applicationClassName =
"com.webobjects.eogeneration.EODynamicApplication";
applicationName = "OrMedEditor";
applicationDescription = "Editor of the OrMed drug database";
downloadClientClasses = "customBundlesClientClasses";
3.
Under the group "Interfaces" I added the login panel nib and controller
class. They are marked for the WebServer target
4.
NO rule has to be changed or added to have the login panel appear upon
startup since I modified the JavaClient component.
5.
It is in my login panel controller class that I programatically decide which
component will display after successull login. For example:
public void login()
{
if(username.equals("all"))
{
EOControllerFactory.sharedControllerFactory().queryControllerWithEntity("Dic
Medicament");
}
else
{
EODialogs.runErrorDialog("Loginfailed", "Erreur de login!");
}
}
6.
I do NOT have a subproj with Client or ClientSideJava? Examples do have
those! I created my project as a Direct to Java Client project. Not as a
JavaClient project. Would that create a problem?
Thanks,
Alex
On 3.4.2003 4:06, "Art Isbell" <email@hidden> wrote:
> On Tuesday, April 1, 2003, at 10:18 PM, Alexander Lamb wrote:
>
>> (WO 5.2.1 + Java 1.4.1 + MacOSX 10.2.4)
>
> Before we proceed further, do you have the same problems when your
> project is configured to use Java 1.3.1?
>
> Aloha,
> Art
> _______________________________________________
> 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.