This content has been marked as final.
Show 5 replies
-
1. Re: fileUpload problem - error message is not displayed
bobc75 Aug 29, 2008 11:25 AM (in response to hrast200)Try using rich:messages like this:
<rich:messages id="richErrorMessage" style="yourstyleclass">
<f:facet name="errorMarker">
<h:graphicImage width="16" height="16" images/error.png"/>
</f:facet>
</rich:messages>
The facet is optional - it will render the image in this case based on the state of your faces message.
I see you added a SEVERITY_ERROR to your Faces message. The name="errorMarker" attribute will show the image (that you provide of courde) if a message is marked with SEVERITY_ERROR
Just FYI, f:facet name="warnMarker" would display the image if you had set a SEVERITY.WARN on it. -
2. Re: fileUpload problem - error message is not displayed
hrast200 Sep 1, 2008 1:34 AM (in response to hrast200)I tried with
<rich:messages layout="list" showSummary="true" showDetail="false" tooltip="false" errorLabelClass="error" warnLabelClass="warning" infoLabelClass="info" style="margin-top:10px; margin-bottom:10px;margin-left:5px;#{style}"> <f:facet name="errorMarker"> <h:graphicImage url="#{images.msg_error}"/> </f:facet> <f:facet name="infoMarker"> <h:graphicImage url="#{images.msg_info}"/> </f:facet> <f:facet name="warnMarker"> <h:graphicImage url="#{images.msg_warning}"/> </f:facet> </rich:messages>
but it still doesn't work. Do you have any other idea? -
3. Re: fileUpload problem - error message is not displayed
ilya_shaikovsky Sep 1, 2008 5:50 AM (in response to hrast200)which version you using?
-
4. Re: fileUpload problem - error message is not displayed
hrast200 Sep 1, 2008 7:50 AM (in response to hrast200)I tried with 3.2.1 GA and 3.2.2 CR1.