The standard JSF does not have escape attribute in h:messages. I've
seem some post on the web saying that the myfaces x:messages (extended
version) and tomahawk t:messages has this escape attribute. But that
does not seems to be the case, as least, the version of myfaces and
tomahwak do not have escape attribute.


"James Perkins" <jrperkinsjr@xxxxxxxxx> wrote in message
news:<mailman.4389.1311786912.2630.web400@xxxxxxxxxxxx>...
I can't remember off the top of my head, but it might have an escape
attribute. <h:message for="id" value="#{form.message}" escape="false"
/>

Of course you would have to escape any other invalid characters coming
in.
If that attribute does not exist, I don't think it will work. Maybe
just
rethink the format and the add the link at the end or something.
<h:message for="id" value="#{form.message}" /> <h:outputLink
rendered="#{not
empty form.message}" value="mailto:
#{form.email}">#{form.email}</h:outputLink>

HTH,
--
James R. Perkins


On Tue, Jul 26, 2011 at 10:01, Hockchai Lim
<lim.hock-chai@xxxxxxxxxxxxxxx>wrote:

Does anyone know if there a way to include html tag in jsf message?
I put
html tag in it and it is not being treat as a html tag:

For example, I put this string in the jsf message: "Message
Forwarding
<<strong> TEST2@xxxxxxxx </strong>> has been successfully deleted."

Notice the <strong> tag in the message. I'm wanting the message to
be
displayed with TEST2@xxxxxxxx in bold. But it is displaying the
whole
message as it.


thanks



--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.