• 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: Main component?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Main component?


  • Subject: Re: Main component?
  • From: Hugi Thordarson <email@hidden>
  • Date: Mon, 22 Aug 2005 13:03:09 +0000

The simplest way is to make the direct action request handler your default request handler by adding this to your Application constructor:

setDefaultRequestHandler( requestHandlerForKey ( directActionRequestHandlerKey() ) );

And then change defaultAction in your DirectAction-class to return your component/response of choice.

Cheers,
- Hugi


On Aug 22, 2005, at 12:51 PM, Wolfram Stebel wrote:

Hi list,

lately i read about the “Main” component:

“...it is the first displayed component until you specify a different...”


Where could i define a different startup component? It is not created by the “defaultAction”...


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

_______________________________________________ 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: 
 >Main component? (From: Wolfram Stebel <email@hidden>)

  • Prev by Date: Main component?
  • Next by Date: 10.3.9 and WO
  • Previous by thread: Main component?
  • Next by thread: Re: Main component?
  • Index(es):
    • Date
    • Thread