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

Re: Custom Main Component


  • Subject: Re: Custom Main Component
  • From: Stefan Klein <email@hidden>
  • Date: Fri, 11 Apr 2008 14:15:47 +0200

Sorry, I forget to tell

Daniele Corti schrieb:


2008/4/11 Mike Schrag <email@hidden>:
Only if you set the default request handler to be DirectActions in your app constructor:

    setDefaultRequestHandler(requestHandlerForKey(directActionRequestHandlerKey()));

Thank you Mike!
 

ms

On Apr 11, 2008, at 7:58 AM, Daniele Corti wrote:
Hi Stefan

2008/4/11 Stefan Klein <email@hidden>:
Hi,

you can change / overwrite:

    public WOActionResults defaultAction()
    {
        return pageWithName(MyPage.class.getName());
    }

in DirectAction.java

When You open a app (for example http://localhost:45220/cgi-bin/WebObjects/YourApp.woa) the page you will open in the browser is the one set for defaultAction() in DirectAction?
I really didn't know it! Thank you!


Stefan


Daniele Corti schrieb:
Hi list,
    My question probably is really simple, but I really don't find out how to do it:
      Is there a way to choose another component that is not Main.wo, to be load at startup?

Thank you for any help!!

--
Daniele Corti
AIM: S0CR4TE5
Messenger: email@hidden

--
Computers are like air conditioners -- they stop working properly if you open
WINDOWS

--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: email@hidden



--
Daniele Corti
AIM: S0CR4TE5
Messenger: email@hidden

--
Computers are like air conditioners -- they stop working properly if you open
WINDOWS

--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young _______________________________________________

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



--
Daniele Corti
AIM: S0CR4TE5
Messenger: email@hidden

--
Computers are like air conditioners -- they stop working properly if you open
WINDOWS

--
What about the four lusers of the apocalypse? I nominate:
"advertising", "can't log in", "power switch" and "what backup?"
--Alistair Young

_______________________________________________ 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

  • Follow-Ups:
    • Re: Custom Main Component
      • From: "Daniele Corti" <email@hidden>
References: 
 >Custom Main Component (From: "Daniele Corti" <email@hidden>)
 >Re: Custom Main Component (From: Stefan Klein <email@hidden>)
 >Re: Custom Main Component (From: "Daniele Corti" <email@hidden>)
 >Re: Custom Main Component (From: Mike Schrag <email@hidden>)
 >Re: Custom Main Component (From: "Daniele Corti" <email@hidden>)

  • Prev by Date: Re: Custom Main Component
  • Next by Date: Re: Custom Main Component
  • Previous by thread: Re: Custom Main Component
  • Next by thread: Re: Custom Main Component
  • Index(es):
    • Date
    • Thread