jakartaee / faces

Jakarta Faces
Other
99 stars 55 forks source link

Add an escape attribute to h:messages and h:message like in h:outputText #634

Open eclipse-faces-bot opened 14 years ago

eclipse-faces-bot commented 14 years ago

I want to output an HTML link as part of my error message, but can't because the HTML is escaped by h:messages. I searched Google for a workaround and found many people have the same problem. There have even been tickets created against JSF RI and MyFaces years ago.

https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=746 http://issues.apache.org/jira/browse/MYFACES-155

Environment

Operating System: All Platform: All

Affected Versions

[2.0]

eclipse-faces-bot commented 5 years ago
eclipse-faces-bot commented 14 years ago

@glassfishrobot Commented Reported by rdelaplante

eclipse-faces-bot commented 14 years ago

@glassfishrobot Commented @edburns said: Move to unscheduled target milestone

eclipse-faces-bot commented 14 years ago

@glassfishrobot Commented @edburns said: Prepare to delete api subcomponent

eclipse-faces-bot commented 14 years ago

@glassfishrobot Commented rogerk said: Target 2.0 Rev A

eclipse-faces-bot commented 14 years ago

@glassfishrobot Commented @edburns said: cat2

eclipse-faces-bot commented 14 years ago

@glassfishrobot Commented @edburns said: rk

eclipse-faces-bot commented 14 years ago

@glassfishrobot Commented @edburns said: These are targeted at 2.1.

eclipse-faces-bot commented 14 years ago

@glassfishrobot Commented sheetalv said: triage

eclipse-faces-bot commented 14 years ago

@glassfishrobot Commented @edburns said: rogerk

eclipse-faces-bot commented 13 years ago

@glassfishrobot Commented rogerk said: triage

eclipse-faces-bot commented 13 years ago

@glassfishrobot Commented rogerk said: triage

eclipse-faces-bot commented 13 years ago

@glassfishrobot Commented kellerapps said: I understand the use case. I'm not convinced HTML is the best way to express this sort of thing. Maybe Message should be enriched to express link & emphasis.

eclipse-faces-bot commented 12 years ago

@glassfishrobot Commented bleathem said: RichFaces supports this attribute with it's rich:message component (see: http://docs.jboss.org/richfaces/latest_4_X/vdldoc/rich/message.html)

Primefaces also supports this attirbute in it's message tag: http://blog.primefaces.org/?p=1894

It seems to me it's something the community is asking for, and should be rolled into the spec.

eclipse-faces-bot commented 12 years ago

@glassfishrobot Commented cagatay_civici said: I agree that this should be in spec, I've seen various posts in PrimeFaces forum and stackoverflow from users who are looking for this.

eclipse-faces-bot commented 12 years ago

@glassfishrobot Commented rdelaplante said: This isn't just for putting links in error messages, it can also be useful for rich error messages including bold and italic of some words.

eclipse-faces-bot commented 10 years ago

@glassfishrobot Commented rdelaplante said: This feature is implemented in OmniFaces:

http://showcase.omnifaces.org/components/messages

eclipse-faces-bot commented 10 years ago

@glassfishrobot Commented @edburns said: Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

eclipse-faces-bot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA JAVASERVERFACES_SPEC_PUBLIC-634