ADF

java.lang.IllegalStateException: Cannot forward a response that is already committed on a JSF action with sendRedirect/forward in ADF

This kind of java.lang.IllegalStateException exception are triggered when some Java code is executed after a forward(), sendRedirect() or sendError(). You can refer to this StackOverflow thread to learn more about how to avoid this in Java: here I’ve encountered this error in ADF a couple of time when you use a forward(), sendRedirect() or sendError() …

java.lang.IllegalStateException: Cannot forward a response that is already committed on a JSF action with sendRedirect/forward 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 »

Screenshot of the ADF images repository on windows

How to use internal ADF icons

If you don’t want to import your own icons as a resource into ADF you can use the internal ones without having to manually add them to your project. You can find them by unzipping the adf-richclient-impl jar file from your JDeveloper installation path. For example on a 11g installation : MW_HOME_INSTALL_PATH\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-impl-11.jar Once unzipped, you’ll …

How to use internal ADF icons Read More »

Scroll to Top