• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 12
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

Thanks,
Arie
 
reply
    Bookmark Topic Watch Topic
  • New Topic