Re: Custom Main Component
Re: Custom Main Component
- Subject: Re: Custom Main Component
- From: Mike Schrag <email@hidden>
- Date: Fri, 11 Apr 2008 09:27:57 -0400
And don't forget to override WOApplication's "pageWithName(String,
WOContext)" too:
You can instead do _NSUtilities.setClassForName(MyPage.class, "Main")
for this ... This also isn't strictly required if you only want to
replace the entry page (if you're using DA default). But WO will send
you to "Main" component occasionally, like from the default exception
page and a couple other places. It's actually kind of weird that
"Main" is not exposed as application.defaultComponentName(), but oh
well.
ms
_______________________________________________
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