on 05-12-2011 10:39 AM
Hi,
In NWDS 7.1 at runtime how can we read the message present in the message area ?
We would like to know, if atleast a message is present in the message area.
Your suggestions will highly useful.
With Regards,
Ramesh G.
Try this :
wdComponentAPI.getMessageManager().isEmpty();
This will return True if message area is empty.
Regards,
Himanshu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Himanshu,
In wdDoModifyView I am not able access the wdComponentAPI.getMessageManager(). Please suggest me how can I use this?
I tried like this but no use.
IWDMessageManager msgmgr = (IWDMessageManager)view.getElement("ma_messagearea");
msfmgr.isEmpty();
getting below error dump on the screen:
java.lang.ClassCastException: class com.sap.tc.webdynpro.clientserver.uielib.pattern.impl.MessageArea:service:tcwdwebdynprocom.sap.engine.boot.loader.ResourceMultiParentClassLoader1304f57falive incompatible with interface com.sap.tc.webdynpro.progmodel.api.IWDMessageManager:service:tcwdwebdynprocom.sap.engine.boot.loader.ResourceMultiParentClassLoader1304f57falive
Please suggest me.
With Regards,
Ramesh G.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.