Hi,
I believe the tomahawk component t:message does something similar to
what you want.
At least it displays the label instead of the id). Maybe you can use
that one or just check
org.apache.myfaces.renderkit.html.ext.HtmlMessageRenderer and do
something similar
in a custom renderer.
cheers
Ernst
On Wed, Mar 19, 2008 at 8:27 AM, prantor <[EMAIL PROTECTED]> wrote:
>
> Hi all
> I am using JSF myfaces implementation with RichFaces
>
> I have a code in rich modal panel like.
>
> <h:inputText label="Client" id="ClientId" value="#{bean.client}"
> required="true" />
> <rich:message for="ClientRecId">
> <f:facet name="passedMarker"><h:graphicImage
> value="/images/ajax/passed.gif"/></f:facet>
> <f:facet name="errorMarker"><h:graphicImage
> value="/images/ajax/error.gif"/></f:facet>
> </rich:message>
>
> I am expectiong that it will show message by "Label" like Client: Value is
> required. but it show message by "ID" like "ClientId": Value is required.
>
> Why? Any kind of help regarding this issue is highly appreciated.
> --
> View this message in context:
> http://www.nabble.com/Is-it-possible-customize-%3Ch%3Amessage%3E-tp16138403p16138403.html
> Sent from the My Faces - Dev mailing list archive at Nabble.com.
>
>