city.yellowfade();
state.yellowfade();
if (null == this.p) return;
var child = this.p.getFirstChild();
while (child) {
switch (child.getFirstChild().data)
{
case "MANDATORY:login":
login_field.showError("mandatory");
break;
case "MANDATORY:password":
password_field.showError("mandatory");
break;
case "WRONGLENGTH:login":
login_field.showError("wrong length");
break;
case "WRONGLENGTH:password":
password_field.showError("wrong length");
break;
case "INVALID:credentials":
login_field.showError("invalid");
password_field.showError("invalid");
break;
case "MANDATORY:zipcode":
zipcode_field.showError("mandatory");
break;
case "INVALID:zipcode":
zipcode_field.showError("invalid");
break;
}
child = child.getNextSibling();
}
signupview.setAttribute("visible", false);
successview.setAttribute("visible", true);
The accepted credentials are defined in the src/rep/users.xml file.
By default admin/password will give you access to the next page.
The accepted zipcodes are: 51442, 90210, 77904 and 60652.
Created by
Welcome to the RIFE/Laszlo demo site!
More information about RIFE, the full-stack Java web application framework, can be found on rifers.org.
More information about OpenLaszlo, the Rich User Interface Toolkit, can be found on openlaszlo.org.