Questions Tagged With htmluserdialoghttps://answers.axonivy.com/tags/htmluserdialog/?type=rss&user=peterw81questions tagged <span class="tag">htmluserdialog</span>enThu, 15 Aug 2019 02:59:51 -0400FacesMessages within a html componenthttps://answers.axonivy.com/questions/3921/facesmessages-within-a-html-component<p>Dear All</p> <p>We are having problems with FacesMessages. Something like the below is working fine unless we use it within a component. </p> <pre><code>FacesMessage msg = new FacesMessage(in.steuerung.fehler.ErrorNachricht); msg.setSeverity(javax.faces.application.FacesMessage.SEVERITY_ERROR); FacesContext.getCurrentInstance().addMessage("form:idIcBanfLieferungen:idFsLieferungen",msg); </code></pre> <p>Then we are getting an error, instead of a message on the UI.</p> <p>There are some unhandled FacesMessages, this means not every FacesMessage had a chance to be rendered. These unhandled FacesMessages are: - Bitte geben Sie ein Lieferdatum an.</p> <p>Why is this not working?</p> <p>Many thanks in advance for your advice.</p> <p>Regards, P</p>peterw81Thu, 15 Aug 2019 02:59:51 -0400https://answers.axonivy.com/questions/3921/facesmessages-within-a-html-componenthtmluserdialog