<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ajax4jsf and HTML5 - problem rerender HTML5 with xmlparser in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/ajax4jsf-and-html5-problem-rerender-html5-with-xmlparser/m-p/324002#M11003</link>
    <description>&lt;P&gt;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.&lt;/P&gt;</description>
    <pubDate>Wed, 31 Oct 2012 22:00:47 GMT</pubDate>
    <dc:creator>Anahide_Tchertc</dc:creator>
    <dc:date>2012-10-31T22:00:47Z</dc:date>
    <item>
      <title>ajax4jsf and HTML5 - problem rerender HTML5 with xmlparser</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/ajax4jsf-and-html5-problem-rerender-html5-with-xmlparser/m-p/324000#M11001</link>
      <description>&lt;P&gt;I use Nuxeo 5.5 and I develop a front-office using HTML5, JSF and Seam.&lt;/P&gt;
&lt;P&gt;When HTML5 tags are in a4j:outputPanel like this&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;OUTPUTPANEL layout="block" id="box_comments"&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;b&amp;gt;&amp;lt; section&amp;gt;
	&amp;lt; div&amp;gt; test &amp;lt; /div&amp;gt;
&amp;lt; /section&amp;gt;&amp;lt;/b&amp;gt;	
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;lt;/a4j:outputPanel&amp;gt;&lt;/P&gt;
&lt;/OUTPUTPANEL&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The HTML5 structure is broken like this. Even worse, two sections appear!&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;B&gt;&amp;lt; section&amp;gt;&amp;lt; /section&amp;gt;&lt;/B&gt;
&amp;lt; div&amp;gt;&lt;B&gt;&amp;lt; section&amp;gt;test&amp;lt; /section&amp;gt;&lt;/B&gt;&amp;lt; /div&amp;gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I found the context parameter below for web.xml, and now the HTML5 structure is respected, but &lt;B&gt;my question is, can i have a potential problem with pages developed by Nuxeo using ajax4jsf ? Thank you! &lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt; context-param&amp;gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt; param-name&amp;gt;org.ajax4jsf.xmlparser.ORDER&amp;lt; /param-name&amp;gt;
&amp;lt; param-value&amp;gt;NONE&amp;lt; /param-value&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;lt; /context-param&amp;gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2012 12:19:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/ajax4jsf-and-html5-problem-rerender-html5-with-xmlparser/m-p/324000#M11001</guid>
      <dc:creator>AlexandreBlanch</dc:creator>
      <dc:date>2012-10-30T12:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: ajax4jsf and HTML5 - problem rerender HTML5 with xmlparser</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/ajax4jsf-and-html5-problem-rerender-html5-with-xmlparser/m-p/324001#M11002</link>
      <description>&lt;P&gt;OK, after investigation my best solution is to use NEKO and not NONE and to isolate the context with this configuration:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;context-param&amp;gt;
	&amp;lt;param-name&amp;gt;org.ajax4jsf.xmlparser.ORDER&amp;lt;/param-name&amp;gt;
	&amp;lt;param-value&amp;gt;NEKO,TIDY&amp;lt;/param-value&amp;gt;
&amp;lt;/context-param&amp;gt;
	
&amp;lt;context-param&amp;gt;
	&amp;lt;param-name&amp;gt;org.ajax4jsf.xmlparser.NEKO&amp;lt;/param-name&amp;gt;
	&amp;lt;param-value&amp;gt;[path of your web files]&amp;lt;/param-value&amp;gt;
&amp;lt;/context-param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But if you find better, I will be very happy to read you! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2012 14:33:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/ajax4jsf-and-html5-problem-rerender-html5-with-xmlparser/m-p/324001#M11002</guid>
      <dc:creator>AlexandreBlanch</dc:creator>
      <dc:date>2012-10-31T14:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: ajax4jsf and HTML5 - problem rerender HTML5 with xmlparser</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/ajax4jsf-and-html5-problem-rerender-html5-with-xmlparser/m-p/324002#M11003</link>
      <description>&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2012 22:00:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/ajax4jsf-and-html5-problem-rerender-html5-with-xmlparser/m-p/324002#M11003</guid>
      <dc:creator>Anahide_Tchertc</dc:creator>
      <dc:date>2012-10-31T22:00:47Z</dc:date>
    </item>
  </channel>
</rss>

