• 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 or other...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Main or other...


  • Subject: Re: Main or other...
  • From: Lachlan Deck <email@hidden>
  • Date: Fri, 04 May 2012 03:33:36 +1000

On 03/05/2012, at 6:25 PM, Ron X wrote:

> and it is very strange - because i have Main component.
> but i have exception, that i haven't it!
>
> 2012/5/3 Ron X <email@hidden>
> yes, now i do that:
>
>     public LSXApplication() {
>         setDefaultRequestHandler(new ERXDirectActionRequestHandler());
>     }
>
> but nothing changed :-(

Perhaps your DirectAction class is not being found. Thus it's falling back to the defaultAction in super.

@Override
protected Class<? extends WOSession> _sessionClass()
{
   return Session.class;
}

@Override
public void installPatches()
{
   super.installPatches();
   ERXPatcher.setClassForName(Main.class, "Main");
   ERXPatcher.setClassForName(DirectAction.class, "DirectAction");
}


Lachlan Deck
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: Main or other...
      • From: Ron X <email@hidden>
References: 
 >Main or other... (From: Ron X <email@hidden>)
 >Re: Main or other... (From: Paul Hoadley <email@hidden>)
 >Re: Main or other... (From: Ron X <email@hidden>)
 >Re: Main or other... (From: Ron X <email@hidden>)

  • Prev by Date: Default D2W Rules for Components
  • Next by Date: Re: Default D2W Rules for Components
  • Previous by thread: Re: Main or other...
  • Next by thread: Re: Main or other...
  • Index(es):
    • Date
    • Thread