Thursday 13 December 2012

How to use Custom CSS

//In Controller PR
           
                import oracle.cabo.style.CSSStyle;

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

1 comment:

Unknown said...

cool :D thank you