Some times we may need to make a oaf page read only in situations like when it is pending for approval etc
for this there is an API; using which we can make all the items in the page read only
lets see how to use that
first import the following package from PO_TOP
import oracle.apps.po.common.webui.ClientUtil;
And call the API as shown below in the process request
ClientUtil.setViewOnlyRecursive(pageContext, webBean);
it will make all the items read only irrespective of any item type
for this there is an API; using which we can make all the items in the page read only
lets see how to use that
first import the following package from PO_TOP
import oracle.apps.po.common.webui.ClientUtil;
And call the API as shown below in the process request
ClientUtil.setViewOnlyRecursive(pageContext, webBean);
it will make all the items read only irrespective of any item type
No comments:
Post a Comment