HIDING DFF ATTRIBUTES DYNAMICALLY
Processrequest
OADescriptiveFlexBean dff=(OADescriptiveFlexBean)webBean.findChildRecursive("ActFlexField");
dff.processFlex(pageContext);
dff.mergeSegmentsWithParent(pageContext);
ppr
OADescriptiveFlexBean dff=(OADescriptiveFlexBean)webBean.findChildRecursive("ActFlexField");
dff.processFlex(pageContext);
//OAMessageLovInputBean dff1=(OAMessageLovInputBean)dff.findChildRecursive("ActFlexField0");
String strdff1=pageContext.getParameter("ActFlexField0");
OAMessageLovInputBean dff2=(OAMessageLovInputBean)dff.findChildRecursive("ActFlexField1");
if(pageContext.isLovEvent()){
if("ActFlexField0".equals(pageContext.getParameter(SOURCE_PARAM))){
if("No".equals(strdff1))
dff2.setAttributeValue(RENDERED_ATTR,Boolean.TRUE);
else
dff2.setAttributeValue(RENDERED_ATTR,Boolean.FALSE);
}
}
No comments:
Post a Comment