in 12c , oracle has changed the way that deal with attachments instead off tables they have added new component with name managedocument .
the way of deal with this control still not clear because the lack of resources and when i try to call attachment of dialog i did not find way for that , finally i found the solution by finding it from inspector then calling it using findcomponet method and that's worked .
to call the attachment dialog you have to use code like below :
RichPopup attachmentDialo = (RichPopup)manageDoc.findComponent("newAttachmentPopup");
RichPopup.PopupHints ph = new RichPopup.PopupHints();
attachmentDialo.show(ph);
the way of deal with this control still not clear because the lack of resources and when i try to call attachment of dialog i did not find way for that , finally i found the solution by finding it from inspector then calling it using findcomponet method and that's worked .
to call the attachment dialog you have to use code like below :
RichPopup attachmentDialo = (RichPopup)manageDoc.findComponent("newAttachmentPopup");
RichPopup.PopupHints ph = new RichPopup.PopupHints();
attachmentDialo.show(ph);
No comments:
Post a Comment