Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

use of UIXCommand.addReturnListener -- or -- adding ReturnListener dynamically

Arie Morgenstern
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to add a ReturnListener to a RichCommandButton in Oracle ADF. RichCommandButton inherits the method addReturnListener from UIXCommand. It also has getReturnListener and setReturnListener. But, I just cannot get it to work.

Does anyone have any experience with this?
I am not sure the direction I should take to dynamically create and add a ReturnListener to a CommandButton.

If you do not have any suggestions for the above, possibly you could help with this:
I have an inline class, as pasted below:

It compiles. But, when I run it, I get this:

Any help would be appreciated, because I'm alittle over my head.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic