Set rendered property dynamically in oaf
To set rendered property dynamically, we need to put the
code in the Controller of the page, where we can dynamically rendered the items
based on the conditions like If this condition met then this item will be
rendered if this then this item like that way we can set the rendered property
dynamically in oaf. Here below is the code which we can sue to set rendered
property dynamically. Some time we need to set these properties in the Standard
OAF page where we don’t want to show some fields on the page based on some
conditions so for this, we need to do controller extensions and then put the
code under this extended controller to make it work.
OAMessageTextInputBean
manager=
(OAMessageTextInputBean)webBean.findChildRecursive("ManagerId");
manager.setRendered(false);
0 comments:
Post a Comment