Re: DirectAction & User login Questions. [Solved]
Re: DirectAction & User login Questions. [Solved]
- Subject: Re: DirectAction & User login Questions. [Solved]
- From: Daniel Brajkovic <email@hidden>
- Date: Fri, 15 Feb 2008 10:14:44 -0600
Well I discovered my problem here. Very stupid of me. For some
unknown reason I selected ERXApplication instead of Application when
WOLips asked me which class containing main. Obviously I selected
ERXApplication. And then just kept hitting the run button. Finally, I
did a run as instead and then selected Application. And now the
initialization code works and is defaulting to DiractActions!
On Feb 14, 2008, at 12:21 AM, Guido Neitzer wrote:
On 13.02.2008, at 22:33, Daniel Brajkovic wrote:
I think people might have misunderstood what I was trying to ask.
Specifically, I thought that this line:
setDefaultRequestHandler
(requestHandlerForKey( directActionRequestHandlerKey() ));
was supposed to set the default handler to "wa" so when I type into
my browser http://127.0.0.1:55555/cgi-bin/WebObjects/Benko.woa the
console should return a "false" based on the code below.
It does without a problem for me with a VERY similar app - just as
easy as yours.
cug
--
Real-World WebObjects class at the Big Nerd Ranch
March 2008, Frankfurt, Germany
http://www.bignerdranch.com/classes/webobjects.shtml
_______________________________________________
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