Child pages
  • Your First Stateful Project

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
public static Author validateLogin(EOEditingContext editingContext, String _emailAddress) {
	// TODO Auto-generated method stub
	return null;
}     Author user = Author.fetchAuthor(ERXEC.newEditingContext(), Author.EMAIL.eq(_emailAddress));
     return user;

Next: we need to add a component to present the login form to the user. Right-click on the Components folder in the project, and select New -> WOComponent. Change the name of the component to be AdminMainPage and change the superclass to er.extensions.components.ERXComponent.