Tag Archives: ADF Faces

Review for my book

I am thankful to Alexander Hansel for his review in Amazon for my book


Jdeveloper is out with ADF Essentials

Jdeveloper is out with ADF Essentials – ADF Free to develop and Deploy.. 🙂


How to change the default text title of Detached table/treetable

have trindad-skins.xml in your web-inf folder and have the following tag

 <id>dummy.desktop</id> // you are overriding the style
 <extends>fusion.desktop</extends> // this should be from the trinidad-config.cml
 <bundle-name>oracle.view.resource.rich.SkinBundle</bundle-name> // your skin bundle to override the name

here dummy.css is used to override any visual property of the faces component defined in fusion theme
to override the label, use in the SkinBundle like (The java bundle file should be registered as a managed bean in adfc-config.xml)

package oracle.view.resource.rich;
 import java.util.ListResourceBundle;
public class SkinBundle
 extends ListResourceBundle
 public Object[] getContents()
 return _CONTENTS;

static private final Object[] _CONTENTS =
 { "af_panelCollection.LABEL_DETACH_TABLE_DLG", "Any name for the Detachable Table" },
 { "af_panelCollection.LABEL_DETACH_TREE_TABLE_DLG", "Any name for the Detachable Tree Table" }

setting uniqueid for the attributes

At design time, Fusion Middleware extensions provide the ability to identify if an entity attribute needs a globally Unique ID. This is accomplished by setting Application Unique ID to true in the entity attribute’s Property Inspector


solving ws/common/contextProvider error

Adding the web service data control library to the project will kick this error out

How to invoke method before the page loads in ADF?

Here is the tutorial on how to invoke a method before the page loads in ADF. Let’s assume that you have a method in the application module, which will have to be invoked before the page load. For this, you have to expose this method as a client method using the client interface option for the application module. Click the edit icon and you will see your method listed in the Available list. Shuttle the method to Selected list and press ‘ok’. After shuttling the method you will see that the method gets added to the client interface. The method that we added will be exposed to the view layer through the application module data control. You have to refresh the data control to see your method. Now to get the binding for our method we have to add a method action binding to the page definition file and select the method that is exposed in the data control. We select our method from the Operation and click ‘ok’. After that we have to create an invokeAction in the Executables section to invoke the method action. We select our method from the list for the Binds and select Refresh as ‘always’.

now the method action binding and the invoke action is added to the page definition file.By default the invokeAction binding is added as a last executable. But we want to invoke the action on page load, so we move the invoke action to the first place to execute initially before any other executable. This can be done by dragging the invokeAction to the first place. Now whenever you run your page you will see the control goes to the method automatically.

download the sample project from this location