Hi All:
I have a view that is show in the portal. The problem is that instead display the message, just do a refresh but nothing else. Doesn´t show the message.
I put a messageArea and I wrote the following code:
IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
if (wdContext.currentManModelElement().getImplemDate()== null){
msgMgr.reportException("É necessário prencher o campo Data início da implementação", false);
}
else if (wdContext.currentResponsibleElement()== null){
msgMgr.reportException("É necessário prencher o campo Responsável", false);
}
else{...}
Thanks