Showing posts with label inline css. Show all posts
Showing posts with label inline css. Show all posts

Monday, February 21, 2011

Using Inline Custom CSS

 
import oracle.cabo.style.CSSStyle;
CSSStyle customUnCss = new CSSStyle();
customUnCss.setProperty("text-transform","uppercase");
customUnCss.setProperty("color", "#F6358A");//# -purple
OAStaticStyledTextBean staticbean = (OAStaticStyledTextBean) webBean.findChildRecursive("approvedIJPText");
if(staticbean!=null)
{
staticbean.setInlineStyle(customCss); //set custom css style
}