How to use HTML5 Tags within ADF FACES

旧城冷巷雨未停 提交于 2019-12-11 19:36:29

问题


I'am looking for a pretty and easy way to use HTML5 Tags inside of my Adf Faces Application.

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>

placeholder is an HTML5 feature. My questions:
How can i use something as Canvas or Drag and Drop Events?


回答1:


You can use canvas tags directly, you can use normal HTML tags with ADF Faces 12c, and you can inject EL anywhere.

check this question and this tutorial for more information.




回答2:


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.



来源:https://stackoverflow.com/questions/21434588/how-to-use-html5-tags-within-adf-faces

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!