Mike Schrag wrote:
And don't forget to override WOApplication's "pageWithName (String, WOContext)" too:
You can instead do _NSUtilities.setClassForName(MyPage.class, "Main") for this ...


True, but not very sexy either...


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.


After deep search... ;-) the only methods referring to "Main" are WOApplication's "pageWithName(String, WOContext)" and WODirectAction's "defaultAction()", at least in WO 5.3.x


It's actually kind of weird that "Main" is not exposed as application.defaultComponentName(), but oh well.


I strongly agree.


--
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