【问题标题】:Embedding a link (or other html) in a JSF (1.2) message(s)在 JSF (1.2) 消息中嵌入链接(或其他 html)
【发布时间】:2012-11-08 13:28:15
【问题描述】:

根据这个问题...

Embedding a link (or other html) in a JSF message

...以及来自 BalusC 的相关博文...

http://balusc.blogspot.ch/2010/07/using-html-in-jsf-messages.html

...我只需要删除FacesRenderer的导入和注释即可。 JSF 1.2 中有一个等价物,虽然叫做 Renderer,但是这个类不包括注解。

无论如何,我的浏览器中出现以下错误:

根据 TLD 标记消息的属性转义无效

我该如何解决这个问题?因为似乎为组件添加 costum 渲染器和属性是合法的。

【问题讨论】:

    标签: jsf-1.2


    【解决方案1】:

    自定义属性需要custom TLD 才能正常工作...

    【讨论】:

      猜你喜欢
      • 2011-03-22
      • 2010-10-23
      • 2018-11-28
      • 2011-03-10
      • 1970-01-01
      • 2021-04-06
      • 2016-02-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多