• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

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.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!