Displaying message with CO Extension is making the page values disappear when it loads again.
Hi Gurus,
When I try to display a message based on a condition in IEXP Page CO Extension is removing the values present in the page after the message is loaded.
I have attached the screenshot of before and after message. Please let me know how to make the field values not disappear.
Below is the code used for CO Extension:
public void processFormRequest(OAPageContext pageContext,
OAWebBean webBean) {
pageContext.writeDiagnostics(this, "Entered the Message Exception PFR Method with INFORMATION",
OAFwkConstants.STATEMENT);
String AwardNumber;
AwardNumber = "Award Type for the Award:";
//First get the Application Module
OAApplicationModule oam = pageContext.getApplicationModule(webBean);
oam.getOADBTransaction().commit();