Thanks for the responses… and the winner is:

setDefaultRequestHandler( requestHandlerForKey( directActionRequestHandlerKey() 
) );


(Thanks Hugi)

Larry Mills-Gahl
[email protected]






On Aug 12, 2014, at 4:22 PM, Larry Mills-Gahl <[email protected]> wrote:

> I was using the Wonder pageWithName(Class<T>) hoping to make the issues with 
> another Main on the classpath moot. That’s when I saw that “Main” was still 
> getting passed into the WOApplication.pageWithName and began wondering if the 
> String for the class name was getting set somewhere as a default before the 
> application gets to the local class that overrides 
> ERXDirectAction.defaultAction
> 
> 
> 
> Larry Mills-Gahl
> [email protected]
> 
> 
> 
> 
> 
> 
> On Aug 12, 2014, at 4:08 PM, Klaus Berkling <[email protected]> wrote:
> 
>> 
>> On Aug 12, 2014, at 12:56 PM, Theodore Petrosky <[email protected]> wrote:
>> 
>>> 
>>>     @Override
>>>     public WOActionResults defaultAction() {
>>>             return pageWithName(CPEMain.class.getName());
>>>     }
>>> 
>>> 
>>> what about adding getName()
>>> 
>> 
>> 
>> I think pageWithName in Wonder takes ether class or the class name, not in 
>> WebObjects, though - just a String.
>> 
>> 
>> 
>> kib
>> 
>> "The era of procrastination, of half-measures, of soothing and baffling 
>> expedients, of delays, is coming to its close. In its place we are entering 
>> a period of consequences."
>> Winston Churchill
>> 
>> Klaus Berkling
>> www.berkling.us | @kiberkli | Photography
>> 
>> 
>> 
>> 
>> 
>> 
>> kib
>> 
>> "The trouble with normal is it always gets worse."
>> Bruce Cockburn
>> 
>> Klaus Berkling
>> www.berkling.us | @kiberkli | Photography
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/elemgee%40gmail.com
>> 
>> This email sent to [email protected]
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

This email sent to [email protected]

Reply via email to