Tuesday, November 20, 2012

Retrieve af:table row data on enter without Java-Script

Retrieve af:table row data on enter without Java-Script

As we all know that Oracle ADF framework is tightly coupled with JavaScript and Ajax. Its never advisable to use you custom JavaScript. And its a common requirement to get selected row data on enter click.

Here in this sample I have invented a way to retrieve row data on enter key click in backing bean and display same on jspx page. Best thing of this sample application is that it reduce the overhead of making selected row as current row in ViewObject. 

This approach might have some limitation when you following any specific architecture but it suites best to retrieve selected row data on enter click without any JavaScript. 

 


Sample Application is uploaded SampleApplication

4 comments:

  1. Thanks Amit, I've been looking for a simple solution to that...

    ReplyDelete
    Replies
    1. Find the sample at http://amit-adf-work-sample.googlecode.com/files/SelectTableRowOnEnter.zip

      Delete
  2. Sample app link is not active. Can you please let me know the right one?

    ReplyDelete
  3. It is a great sharing...I am very much pleased with the contents you have mentioned. I wanted to thank you for this great article.
    Website Development Sydney

    ReplyDelete

Thanks for your valuable comment. You comment will go live soon.