Thursday, May 16, 2013

ADF 11G: Set Current Date in af:inputDate

ADF 11G: Set Current Date in af:inputDate









    public String setCurrentDate() {
      
        Date convertedDate = new Date(Date.getCurrentDate());
                  String convertedDateString;
                  java.text.SimpleDateFormat displayDateFormat = new java.text.SimpleDateFormat ("MM/dd/yyyy");
                  convertedDateString = displayDateFormat.format(convertedDate.dateValue());
                 
                  id1.setValue(convertedDateString);
        id1.setRendered(true);
        return null;
    }


Wednesday, May 15, 2013

ADF 11G : Customize the page based on the isDirty Attribute in Business Component

Customize the page based on the isDirty Attribute in Business Component.
Click















Implmentation: Create an Attribute at EO level using Groovy Expression.

(entityState != 1)