Monday, December 6, 2010

OADialogPage without Yes/No Buttons


prior to that I had this in my code:

OADialogPage dialogPage =
        new OADialogPage(OAException.CONFIRMATION, confirmMessage, null, "", "");


This sets the yes and no button URL to blank strings and results to


which is not quite the thing I wanted @A@

now, setting those two parameters to null rather than blank String:

OADialogPage dialogPage =
        new OADialogPage(OAException.CONFIRMATION, confirmMessage, null, null, null);


will result to:

:D

No comments:

Post a Comment