use of UIXCommand.addReturnListener -- or -- adding ReturnListener dynamically
posted 2 years ago
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.