I think people might have misunderstood what I was trying to ask. Specifically, I thought that this line:
setDefaultRequestHandler (requestHandlerForKey( directActionRequestHandlerKey() ));
public class Application extends ERXApplication { public static void main(String[] argv) { ERXApplication.main(argv, Application.class); }
public Application() { NSLog.out.appendln("Welcome to " + name() + " !"); /* ** put your initialization code in here ** */ setDefaultRequestHandler (requestHandlerForKey( "wa" )); } }
public class DirectAction extends ERXDirectAction { public DirectAction(WORequest request) { super(request); }
public WOActionResults defaultAction() { WOComponent page = pageWithName(Main.class.getName()); return page; } }
public class Session extends ERXSession { private static final long serialVersionUID = 1L;
public Session() { } }
public class Main extends WOComponent { private static final long serialVersionUID = 1L;
public Main(WOContext context) { super(context);
System.out.println(hasSession()); }
}
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|