Can we configure Oracle ADF Faces to produce valid XHTML?

好久不见. 提交于 2019-12-12 16:40:22

问题


We are using Oracle ADF Faces in a new web project. I am always looking for an unobtrusive user experience with progressive enhancement and valid XHTML output. It seems however that ADF Faces produce ugly, non-validating (table based) HTML output that reminds me of 1994 when using their standard components.

Is there a way to configure ADF Faces or create templates for the components so we can have complete control over the generated (X)HTML?


回答1:


ADF is a continuation of BC4J, so this is why you are experiencing non-validating HTML again. Instead, try to write your own custom UI components.

Unfortunately, Stack Overflow does not bear much fruit in terms of Oracle help. Perhaps asking on Oracle OTN would help. Maybe raising an issue with meta-link too.




回答2:


You can not influence the ADF output HTML code. And rewitring all the JSF components is not an option. You can use Google Chrome which formats the HTML code for you.



来源:https://stackoverflow.com/questions/208295/can-we-configure-oracle-adf-faces-to-produce-valid-xhtml

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