如何在ADF FACES中使用HTML5标签 [英] How to use HTML5 Tags within ADF FACES
本文介绍了如何在ADF FACES中使用HTML5标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在寻找一种在我的Adf Faces应用程序内部使用HTML5标签的简单便捷的方法.
I'am looking for a pretty and easy way to use HTML5 Tags inside of my Adf Faces Application.
我正在使用ADF 12c,它应该支持HTML5和CSS3.直到现在我明白了
I'am using ADF 12c and it's supposed to support HTML5 and CSS3. Until now i get this
<f:facet name="center">
<af:inputText label="Label 1" id="it1" placeholder="Test"/>
</f:facet>
占位符是HTML5功能.我的问题:
我如何使用画布
或拖放事件
?
placeholder is an HTML5 feature.
My questions:
How can i use something as Canvas
or Drag and Drop Events
?
推荐答案
如果要使用ADF Faces中没有等效标记的HTML5标记,则可以在JSF中使用f:verbatim标记并包含HTML里面的代码.
If you want to use an HTML5 tag that doesn't have an equivalent in ADF Faces you can use an f:verbatim tag in your JSF and include the HTML code inside it.
这篇关于如何在ADF FACES中使用HTML5标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文