Monthly Archives: June 2011

How to set the label for any field remotedly (by using other tags) in ADF 11g

If we want to format the display of the label for any field, we can use the <outputLabel> tag for that, as we get more options on <outputLabel> tag. The for attribute of the <outputLabel> tag should be the ID … Continue reading

Posted in ADF (Application Development Framework) | Tagged , , , , , | 1 Comment

How to wrap the Label before any fields (input, LOV, Checkbox, Radia button etc.) in ADF 11g

In normal the label for any field will be in a single striaght line. If we want it to wrap into two lines before the field we need to use <outputFormatted> tag as shown below –     <af:outputFormatted id=”of1″ value=”No … Continue reading

Posted in ADF (Application Development Framework) | Tagged , , , , | 1 Comment

How to Create a Managed (Backing) Bean for any JSPX page in ADF 11g

We can create a Managed Bean in Two ways in ADF 11g – Approach 1: As shown below, While creating the JSF page, expand the “Page Implementation” section and select the radio button for “Automatically Expose UI Components in a … Continue reading

Posted in ADF (Application Development Framework) | Tagged , , , , , | 1 Comment

How to reuse a View Object (VO) for different search criteria in multiple pages in ADF

Scenario: We need to display data in multiple JSF pages based on the single View Object (VO) with different WHERE condition for each of the JSF page. For this to achieve usually we will create one View Object (with WHERE … Continue reading

Posted in ADF (Application Development Framework) | Tagged , , , , , , , | 9 Comments

In 11g, how to Export the ADF table data into Excel Spread sheet

First create a table which displays the data in the JSP page. Now drag and drop the CommandButton from the Common Components palette into the JSF page as shown below <af:commandButton text=”Export to Excel” id=”cb4″> </af:commandButton>    Now add the … Continue reading

Posted in ADF (Application Development Framework) | Tagged , , , | 4 Comments

How to show a popup in JSPX page from a Managed Bean method

Usecase: The scenario is to perform the validation in the Managed bean method and in cases when it does not satisfy few conditions, we need to show up message in the popup to the User. To achieve this follow the … Continue reading

Posted in ADF (Application Development Framework) | Tagged , , , , , | 4 Comments

How to display one JSPX page as a popup in another JSPX page

To show up the JSPX page as a popup follow below steps – 1) Create two pages say MainPage.jspx and popupPage.jspx. 2) If you had defined any specific task flow for your module (if not you can use faces-config.xml), you … Continue reading

Posted in ADF (Application Development Framework) | Tagged , , , , | 8 Comments

Why ADF table is not showing up in the page at runtime

In my JSF page, I was using the Trinidad tags to define the Form layout and buttons. When I was added the data controls as a ADF Table in the page and executed the ADF table is not showing up … Continue reading

Posted in ADF (Application Development Framework) | Tagged , , , , , | Leave a comment

Resolution to error “JBO-25013: Too many objects match the primary key oracle.jbo.Key”

When I want to create a read only table in the JSF page from a database view, I had created a Entity object using the database View and defined a Primary Key in the EO creation. I drag and drop … Continue reading

Posted in ADF (Application Development Framework) | Tagged , , , , , | 1 Comment

How to fetch a particular node value from a set of XML nodes in BPEL 11g

In my case, I have used the Human task in my BPEL process. For every Human task added into BPEL process, a global task complex variable will get created. This complex variable contains all the parameters related to a task. … Continue reading

Posted in BPEL, Oracle Business Process Management (BPM), Service Oriented Architecture (SOA 11g) | Tagged , , , , , | 2 Comments