im getting nullPointer Exception at line
OAMessageDateFieldBean DtEstablishmentBn = (OAMessageDateFieldBean)pgbean.findChildRecursive("ActFlexField0");
the datefield bean is getting mandatory but not non-mandatory..
Are you setting this based on some condition or it is always non-mandatory? If it's always then why can't you set the required property to false at design time (page)?
Can you confirm if the filed ActFlexField0 is of datatype DATE/DATETIME?
you are right..
im setting the field based on a condition in my extended CO...and cant touch original page and CO..
diving fields details from page-> view source,
so, date is in DATE ('dd-MMM-yyyy') format..