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