Capital Style Letters in a Field
We can use below code if there is any requirement like we need to display all letters in capital style in a Text Field.
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
{
super.processRequest(pageContext, webBean);
CSSStyle css =new CSSStyle();
css.setProperty("text-transform","uppercase");
OAMessageTextInputBean mtib=(OAMessageTextInputBean)webBean.findChildRecursive("Test");
if(mtib!=null) {
mtib.setInlineStyle(css);
}
}
0 Comments