How to show OADialogPage page with only 1 button.?
By default OADialogPage will only 2 buttons. To make it only 1 button pass null at the end of dialogPage declaration.
Example:
Thanks for visiting my blog!
By default OADialogPage will only 2 buttons. To make it only 1 button pass null at the end of dialogPage declaration.
1 2 | OADialogPage dialogPage = new OADialogPage(OAException.WARNING, instrMesg, null, "", null); |
Example:
1 2 3 4 5 6 7 8 9 10 | OAException instrMesg = new OAException("ICX", "CVICX_FREIGHT_TAX_WARNING"); OADialogPage dialogPage = new OADialogPage(OAException.WARNING, instrMesg, null, "", null); dialogPage.setOkButtonItemName("xxYes"); dialogPage.setOkButtonToPost(true); dialogPage.setOkButtonLabel("Continue"); dialogPage.setPostToCallingPage(true); |
Thanks for visiting my blog!
No comments:
Post a Comment