-
2. Re: rich:message facet passedMarker
nimo22 Dec 17, 2009 9:12 AM (in response to ilya_shaikovsky)oh that was it, but for rich:messages.. hmm.. I am using rf 3.3.2. for rich:message passedLabel and passedMarker still exists:
{code}<h:form>
<h:outputLabel value="e-mail"/>
<h:inputText id="input_email" value="#{myBean.email}"required="true" validator="#{myBean.validateEmail}" requiredMessage="e-mail needed" autocomplete="off">
<rich:ajaxValidator event="onchange"/>
</h:inputText>
<rich:message for="input_email">
<f:facet name="passedMarker">
<h:graphicImage url="/image/passed.png"/>
</f:facet>
</rich:message><h:outputLabel value="name"/>
<h:inputText id="input_name" value="#{myBean.name}" required="true" validator="#{myBean.validateName}" requiredMessage="name needed" autocomplete="off">
<rich:ajaxValidator event="onchange"/>
</h:inputText>
<rich:message for="input_name">
<f:facet name="passedMarker">
<h:graphicImage url="/image/passed.png"/>
</f:facet>
</rich:message></h:form>{code}
When the form is rendered, then the passedMarkers are instantly shown - is that normal?
I would except that a passedMarker of a field is only shown after the field is validated
(and the validation has no errors, that means: the field is passed).
Message was edited by: nimo stephan
-
3. Re: rich:message facet passedMarker
nbelaevski Dec 17, 2009 1:40 PM (in response to nimo22)Hi Nimo,
This won't work neither for rich:messages nor for rich:message. Please take a look at https://jira.jboss.org/jira/browse/RF-764
-
4. Re: rich:message facet passedMarker
nimo22 Dec 17, 2009 6:17 PM (in response to nbelaevski)oh okay, got it.
thanks.