Have JSF tag NOT render an HTML tag

I do the front end HTML for a JSF team. I often run into the JSF tags being used rendering HTML of their own. It's often a SPAN and isn't usually a problem, but once in a while we have this:
Which will render this:
Hello World.
I've been reading through JSF tag documentation but can't find a specific mention of a way to tell the JSF tag to only render the child HTML, not the tag itself as an HTML element. Is there a JSF attribute to tell it "don't render a span"? Or is there a JSF tag that will not render as HTML, but still allow for use of JSF variables within?
I realize you're probably doing something more complex, but why not just use -> ...td>... Alternatively you could write a custom component that had children but rendered nothing but that seems like a lot of work for something that might be an easy work around (composite components or simple redesign of the html)

以上就是Have JSF tag NOT render an HTML tag的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » HTML5 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准