on 08-03-2006 7:22 AM
How can I dispaly error message for table havong input fields from message pools,so that when I clicks on that message,that should point to that particular field having error
Thanks
Fahad
Hi
Try This,
wdComponentAPI.getMessageManager().reportMessage( IMessage<Name>.<MessageKey>,
new Object[] { wdContext.current<Node>Element().get<Param>()},
false);
Kind Regars
Mukesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
You can use this API from the message manager
wdComponentAPI.getMessageManager().reportContextAttributeMessage(ele, ele.getAttribute("Name").getAttibuteinfo, IWDMessage.MESG,paramas,true);
Hope that helps.
Regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fahad,
From Message pool retrive data using text accessor
IWDTextAccessor textYesAccessor = wdComponentAPI.getTextAccessor();
String tempYes = textYesAccessor.getText(IMessageSample.<YES>);
You can report error message like.
if(tempYes !=null)
reportException(String message, boolean cancelNavigation);
See this link for Webdynpro API..
https://media.sdn.sap.com/javadocs/NW04/SPS15/wd/index.html
Regards
Suresh
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.