Stefan Klein wrote:
you can change / overwrite:

    public WOActionResults defaultAction()
    {
        return pageWithName(MyPage.class.getName());
    }

in DirectAction.java


And don't forget to override WOApplication's "pageWithName(String, WOContext)" too:

        public WOComponent pageWithName(String name, WOContext context) {
                WOComponent page;

                if((name == null) || "Main".equals(name)) {
                        page = super.pageWithName(MyPage.class.getName(), 
context);
                } else {
                        page = super.pageWithName(name, context);
                } // else

                return(page);
        } // pageWithName


--
Francis Labrie
Saint-Bruno-de-Montarville, Quebec, Canada

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to