Set MessageStyledText value dynamically in OAF

Scenario: Set the text on a item dynamically based on certain criteria

  • Get the text value that need to be set
  • Open the styled text bean
  • Assign the text value to styled text bean

 public void processRequest(OAPageContext pageContext, OAWebBean webBean)


super.processRequest(pageContext, webBean);

String customerName = pageContext.getParameter("CustName");

OAMessageStyledTextBean customerNameBean = (OAMessageStyledTextBean)webBean.findChildRecursive("StaticCustomerName");




No comments:

Post a Comment