EBS Customizations (MOSC)

MOSC Banner

Attachment component handle capture for custom logic develop

I am using attachment table in OAF page develop, and i want to capture the event when clicking the update / delete icon within attachment table. but it is not working

OAAttachmentTableBean attachmentBean = (OAAttachmentTableBean)webBean.findChildRecursive("AttachmentTable");

attachmentBean.put(ATTACH_DELETE_COLUMN_RENDERED, Boolean.FALSE); //to hide Delete column

attachmentBean.put(ATTACH_UPDATE_COLUMN_RENDERED, Boolean.FALSE); //to hide Update column

OAWebBean oAWebBean1 = webBean.findIndexedChildRecursive("DeleteSwitcher");

oAWebBean1.setRendered(false);

OAWebBean oAWebBean2 = webBean.findIndexedChildRecursive("UpdateSwitcher");

oAWebBean2.setRendered(false);

=> I used below code to try to make the update / delete icon attribute to false : by code of OA_UPDATE_ATTACHMENT.equals(eventName) || OA_DELETE_ATTACHMENT.equals(eventName) , but it is not working

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center