Tuesday, May 28, 2013

Set Style Sheet Properties Programatically in OAF

In ProcessRequest()
         
import oracle.cabo.style.CSSStyle;

CSSStyle customCss = new CSSStyle();
customCss.setProperty("text-transform","uppercase");
customCss.setProperty("color", "    #ee0000");//# -red
OAMessageStyledTextBean styledTextBean =(OAMessageStyledTextBean)webBean.findIndexedChildRecursive("POCommentsItem");
if(styledTextBean!=null)
{
  styledTextBean.setInlineStyle(customCss);
}
Related Posts Plugin for WordPress, Blogger...