• 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
Theorical Question of performActionNamed()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Theorical Question of performActionNamed()
      • From: Pascal Robert <email@hidden>
  • Prev by Date: Re: ADC / WO after 5.4 and NDA
  • Next by Date: Re: Theorical Question of performActionNamed()
  • Previous by thread: Re: BigDecimal vs WOConditional
  • Next by thread: Re: Theorical Question of performActionNamed()
  • Index(es):
    • Date
    • Thread