fixed that Login dialog so that hitting Enter after keying in your password
should trigger the "Log In" button, NOT the reminder button! Also, small enhancements to a couple of classes in conjunction with the new UI work.
This commit is contained in:
@@ -33,13 +33,14 @@ public class LoginDialog extends ContentDialog
|
||||
super("Log In",null,"loginform","account");
|
||||
setHiddenField("cmd","L");
|
||||
setHiddenField("tgt","");
|
||||
setInstructions("Forgot your password? Enter your user name and click the Reminder button to receive "
|
||||
+ "a password reminder via E-mail.");
|
||||
addFormField(new CDVeniceIDFormField("user","User name",null,false,32,64));
|
||||
addFormField(new CDPasswordFormFieldCommand("pass","Password",null,false,32,128,
|
||||
new CDImageButton("remind","bn_reminder.gif","Reminder",
|
||||
80,24)));
|
||||
addFormField(new CDPasswordFormField("pass","Password",null,false,32,128));
|
||||
addFormField(new CDCheckBoxFormField("saveme","Remember me for next time so I can log in automatically",
|
||||
null,"Y"));
|
||||
addCommandButton(new CDImageButton("login","bn_log_in.gif","Log In",80,24));
|
||||
addCommandButton(new CDImageButton("remind","bn_reminder.gif","Password Reminder",80,24));
|
||||
addCommandButton(new CDImageButton("cancel","bn_cancel.gif","Cancel",80,24));
|
||||
|
||||
} // end constructor
|
||||
|
||||
@@ -241,6 +241,12 @@ public class XMLLoader
|
||||
|
||||
} // end configVerifyNodeName
|
||||
|
||||
public final void configVerifyNodeName(Node n, String name) throws ConfigException
|
||||
{
|
||||
configVerifyNodeName(n,name,(Element)(n.getParentNode()));
|
||||
|
||||
} // end configVerifyNodeName
|
||||
|
||||
public final void configVerifyTagName(Element tag, String name) throws ConfigException
|
||||
{
|
||||
if (tag.getTagName().equals(name))
|
||||
|
||||
Reference in New Issue
Block a user