Re: D2JC: problem with login window from documentation: Partial solution
Re: D2JC: problem with login window from documentation: Partial solution
- Subject: Re: D2JC: problem with login window from documentation: Partial solution
- From: Alexander Lamb <email@hidden>
- Date: Thu, 03 Apr 2003 13:15:52 +0200
Ok, things are getting better:
1. Still in 1.3.1 I removed the binding:
applicationClassName = "com.webobjects.eogeneration.EODynamicApplication";
From JavaClient.wo and now the login panel appears!
2. I have font alignment problems! What font is recommended to use as
regular text in a nib?
3. Now I can't make the next controller appear using:
EOControllerFactory.sharedControllerFactory().queryControllerWithEntity("Dic
Medicament");
It "waits" for a few seconds and I am back in my login panel.
Thanks,
Alex
On 3.4.2003 10:17, "Alexander Lamb" <email@hidden> wrote:
> 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.
_______________________________________________
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.