Monthly Archives: July 2011

How to display the text-area in the Table in ADF.

Inorder to show the multiple lines of text data (generally for Description column) in the table column, you have to increase the number of rows in the <inputText> tag as shown <af:column sortProperty=”DocumentDescr” filterable=”true”                          sortable=”true”                          headerText=”#{bindings.AttachmentsVO1.hints.DocumentDescr.label}”                          id=”c1″ … Continue reading

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

How to conditionally enable / disable the column contents in the ADF 11g table

Scenario: I have below contents in my table – In the “Remove Attachment” column have Delete Icon when clicked, it will deletes the record. I want to Enable this Delete Icon based on the Condition. Then it will look as … Continue reading

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

How to invoke a method from Managed Bean when JSPX Page Loads in ADF

Scenario: In order to restrict the number displayed rows in the table, I have to set the View Criteria on the Iterator before the page loads. Solution: I have created a method (fetchSourceRecords()) in the Managed bean (Attachments.java) in which … Continue reading

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

How to display the Date and Time format in ADF page

In this post you will know how to display the DATE and TIME on the JSPX page. If you want to display the DATE format in “DD-MON-YYYY ” and Time in “Hour:Min:Sec AM/PM” do as below – 12 hour format … Continue reading

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

Resolution for Invalid Column Index error in ADF.

Scenario: Created an Entity object (EO) on the table and created a View object (VO) on the Entity object. Now a DATE column is added to the table. The newly added DATE column is updated into the Entity object from … Continue reading

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

How to make a field mandatory in JSPX page in ADF

In this scenario, we need to make <inputListOfValues> field as Mandatory, which means no NULL values are accepted and User cannot enter NULL value in the Field. We need to display an Error message when ever User submits the form … Continue reading

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

How to get the Current Date and Time in the Managed Bean?

In order to get the Current date and time in the managed bean, include the below method –   /**     * Get Current Date     * @return     */     public Date getCurrentDateTime()   {   return new Date(new … Continue reading

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