Bean

How to programmatically commit or rollback a transaction in Oracle ADF?

Running a commit or a rollback when a user trigger an Action Listener in your java Bean is the first thing you’ll need to know in Oracle ADF. The easiest way to do so is to retreive the transaction used by your user in the Application Module and trigger a Commit or Rollback while catching …

How to programmatically commit or rollback a transaction in Oracle ADF? Read More »

How to execute client javascript in an ADF Java Bean action?

One of the best ways to enhance your ADF applications UI is to add some excellent Javascript library and to call them in your Java Bean‘s action. For instance, I often like to implement the izitoast javascript open source library. It’s a great tool to display users notification in nice looking side popups. You can …

How to execute client javascript in an ADF Java Bean action? Read More »

How to set current column value of selected RichTable row from iterator in Oracle ADF

If you read yesterday article, https://cedricleruth.com/how-to-get-current-column-value-of-selected-richtable-row-from-iterator-in-adf/ , you now know have to retrieve a column value from a table selected rows inside an Oracle ADF Java Bean. While this is useful when you need to get the current column value on a button click, you may as well need to update it with a new …

How to set current column value of selected RichTable row from iterator in Oracle ADF Read More »

Screenshot of an ADF 11g View Object with View Criteria

How to unapply a View Criteria programmatically from a View Object in ADF?

Yesterday, I shared a quick tip on how to apply a ViewCriteria in your ADF Controller project. ( www.cedricleruth.com/how-to-apply-a-viewcriteria-programmatically-in-adf/ ) And if you’re using this snippet, you may also need to remove this ViewCriteria from the ViewObject programmatically. A typical use case is a toggle button on top of an ADF table to only display …

How to unapply a View Criteria programmatically from a View Object in ADF? Read More »

Screenshot of an ADF 11g View Object with View Criteria

How to apply a viewCriteria programmatically in ADF?

You often need to filter and modify the where clause of your view object programmatically in your controller bean depending on a user action. (for example, a click on a button will show a different set of data in the same table) To do so you can either add the where clause programmatically in the …

How to apply a viewCriteria programmatically in ADF? Read More »

Scroll to Top