Problem locking error message.
I've been working in a WebDynpro application that shows error messages in a Errors-Message Area element. The problem is that if I collapse or expand a tray in the view, then the errors displayed in the message area disappear. Is it possible to lock these error messages?
In case it was possible, how could I unlock them when I don't want to keep showing these messages?
Thanks in advance,
Joan Roda replied
Another possible solution is to validate fields in the wdDoModifyView, so whenever you perform an action in any UI element the error messages are renewed.
The only problem would be to use wdComponentAPI because it is a non-static element and wdDoModifyView is static. It can be solved using:
IWDMessageManager msgMgr = wdThis.wdGetAPI().getComponent().getMessageManager();
IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
msgMgr.reportMessage(IMessageYourAppliactionComp.ERROR, arg1, true);