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