Skip to Content
avatar image
Former Member

popUp window Error message

After running application and click search button, I see

a popup window.

When an error occurs while I'm doing some work or when I

click a button, the error message is shown within parents

window. However, I want the error message to be shown

within the popup window in which the error occured.

Is it possible to do the above things? or is there any

better way that you would recommend us?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    May 14, 2007 at 01:16 PM

    Hi BUB,

    I think you are using MessageArea control to display the messages,

    Actually in case of MessageArea, the message are displayed within the first MessageArea instance loaded,

    The same has been discussed in the following forum,

    Choosing between multiple MessageArea-items

    I hope you will find the solution,

    Regards

    Deepak

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 14, 2007 at 11:48 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 14, 2007 at 11:28 AM

    Hai,

    you can create Dialog Box , Gves the Error Details like, "Searching String Not Found".

    IWDControllerInfo controllerInfo =wdControllerAPI.getViewInfo().getViewController();

    IWDConfirmationDialog dialog=null;

    if(categoryFound()){

    dialog = wdComponentAPI.getWindowManager().createConfirmationWindow(

    "Search Not found", controllerInfo.findInEventHandlers("Ok"), " OK ");

    dialog.setWindowPosition(250,250);

    dialog.setWindowSize(550,50);

    dialog.show();

    create an eventHandelr Ok.

    Regards,

    Naga

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 14, 2007 at 11:55 AM

    Hi,

    Yes,you can As per the Raju posted the code will work for your requirement.

    For dynamic displaying your messge mens you can create one Value Attribute and pass as param to IWdConfirmDialog.

    Thanks,

    Lohi.

    Add comment
    10|10000 characters needed characters exceeded