Theorical Question of performActionNamed()
Theorical Question of performActionNamed()
- Subject: Theorical Question of performActionNamed()
- From: Gustavo Pizano <email@hidden>
- Date: Tue, 17 Feb 2009 18:47:19 +0100
Hello, well, I understand that if I set a directAactionNamed= "whatever", in a wo, it will go to the DirectAction and search for the action whateverAction(), am I right?. but somehow that's not happening, I declared this method on the directAction.java,
@Override public WOActionResults performActionNamed(String actionName) { // TODO Auto-generated method stub return pageWithName(actionName); } but it gave me an exception that it coudln't find whateverAction.
So I created a "custom" Action.java class extended from ERXDirectAction, and place the method there and it did work, (I was following the Ajax example as a guide to develop my app), I wanted to see what happen, and well it gave me that exception, can somebody explain me in a simple way (im newbiew, yes still) why this behavior ?
Thanks a lot
Gustavo
|
_______________________________________________
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