cancel
Showing results for 
Search instead for 
Did you mean: 

popUp window Error message

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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,

I hope you will find the solution,

Regards

Deepak

Answers (3)

Answers (3)

Former Member
0 Kudos

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.

Former Member
0 Kudos
Former Member
0 Kudos

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