• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: DirectAction & User login Questions. [Solved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >DirectAction & User login Questions. (From: Daniel Brajkovic <email@hidden>)
 >Re: DirectAction & User login Questions. (From: Guido Neitzer <email@hidden>)
 >Re: DirectAction & User login Questions. (From: Lachlan Deck <email@hidden>)
 >Re: DirectAction & User login Questions. (From: Guido Neitzer <email@hidden>)
 >Re: DirectAction & User login Questions. (From: Daniel Brajkovic <email@hidden>)
 >Re: DirectAction & User login Questions. (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: Fetch Specifications defined in the .eomodel
  • Next by Date: looking for relationship examples
  • Previous by thread: Re: DirectAction & User login Questions.
  • Next by thread: re: DirectAction & User login Questions.
  • Index(es):
    • Date
    • Thread