File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

Arie Morgenstern
Posts: 12
  • 0
  • 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.

I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic