on 02-10-2005 10:31 AM
Hallo all,
I add 3 error messages in the MessagePool of the WebDynpro Project and want to fire those in coding, but it doesn't work. The coding looks like follows...
<i>IWDMessageManager msgMgr = wdThis.wdGetAccountController().wdGetAPI().getMessageManager();
msgMgr.reportContextAttributeMessage(wdThis.wdGetContext().currentContextElement(),infoName,IMessageAccount.ERROR__NAME,new Object[] ,false);</i>
When I organize the imports, it can't find the interface IMessageAccount (account is the name of the controller).
Can anyone help me, please?
Best regards
Petra Rimkus
Hi,
Here IMessageAccount is your controller name.
Have you added this controller into the view in which you have written this coding?
If not then go to properties tab of the view and there add your controller- IMEssageAccount in required controller.
I hope it helps you. If it works fine then reward points and close the thread.
Regards,
Bhavik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.