10-30-2012 08:19 AM
I use Nuxeo 5.5 and I develop a front-office using HTML5, JSF and Seam.
When HTML5 tags are in a4j:outputPanel like this
<b>< section> < div> test < /div> < /section></b>
</a4j:outputPanel>
The HTML5 structure is broken like this. Even worse, two sections appear!
< section>< /section> < div>< section>test< /section>< /div>
I found the context parameter below for web.xml, and now the HTML5 structure is respected, but my question is, can i have a potential problem with pages developed by Nuxeo using ajax4jsf ? Thank you!
< context-param>
< param-name>org.ajax4jsf.xmlparser.ORDER< /param-name>
< param-value>NONE< /param-value>
< /context-param>
10-31-2012 10:33 AM
OK, after investigation my best solution is to use NEKO and not NONE and to isolate the context with this configuration:
<context-param>
<param-name>org.ajax4jsf.xmlparser.ORDER</param-name>
<param-value>NEKO,TIDY</param-value>
</context-param>
<context-param>
<param-name>org.ajax4jsf.xmlparser.NEKO</param-name>
<param-value>[path of your web files]</param-value>
</context-param>
But if you find better, I will be very happy to read you! 🙂
10-31-2012 06:00 PM
That looks like a bug with the default "tidy" parser. This can also happen when using invalid HTML or ajax re-rendering sub elements of tables for instance.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.