Can we configure Oracle ADF Faces to produce valid

2019-07-20 23:28发布

问题:

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.