2008/4/11 Mike Schrag <[EMAIL PROTECTED]>:

> 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 PROTECTED]>:
>
> >  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 PROTECTED]
> >
> > --
> > 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 protected])
> > Help/Unsubscribe/Update your 
> > Subscription:http://lists.apple.com/mailman/options/webobjects-dev/stefan.klein%40buero-sde.de
> >
> > This email sent to [EMAIL PROTECTED]
> >
> >
>
>
> --
> Daniele Corti
> AIM: S0CR4TE5
> Messenger: [EMAIL PROTECTED]
>
> --
> 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 protected])
> Help/Unsubscribe/Update your Subscription:
>
> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com
>
> This email sent to [EMAIL PROTECTED]
>
>
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com
>
> This email sent to [EMAIL PROTECTED]
>



-- 
Daniele Corti
AIM: S0CR4TE5
Messenger: [EMAIL PROTECTED]

--
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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to