Re: Main or other...
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