Note that there are some explanatory texts on larger screens.

plurals
  1. PORichFaces4 don't render the components
    text
    copied!<p>I try to run RichFaces4 app but the components don't render. For example when I try this demo: <a href="http://livedemo.exadel.com/richfaces-demo/richfaces/tabPanel.jsf?c=tabPanel&amp;tab=usage" rel="nofollow">Demo</a> I get something like this: </p> <pre><code>Here is an example of default tab panel with 3 tabs. j_id1475365623_57f04a9f j_id1475365623_57f04a9f j_id1475365623_57f04a9f j_id1475365623_57f04a75 j_id1475365623_57f04a75 j_id1475365623_57f04a75 j_id1475365623_57f04a6b j_id1475365623_57f04a6b j_id1475365623_57f04a6b « ↓ » Here is tab #1 Here is an example of tab panel switched in "ajax" style. Second tab is disabled. j_id1475365623_57f04a27 j_id1475365623_57f04a27 j_id1475365623_57f04a27 j_id1475365623_57f04a1d j_id1475365623_57f04a1d j_id1475365623_57f04a1d j_id1475365623_57f04bf3 j_id1475365623_57f04bf3 j_id1475365623_57f04bf3 « ↓ » Here is tab #1 Here is an example of tab panel switched completely on client. j_id1475365623_57f04bcf j_id1475365623_57f04bcf j_id1475365623_57f04bcf j_id1475365623_57f04ba5 j_id1475365623_57f04ba5 j_id1475365623_57f04ba5 j_id1475365623_57f04b9b j_id1475365623_57f04b9b j_id1475365623_57f04b9b « ↓ » Here is tab #1 Here is tab #2 Here is tab #3 </code></pre> <p>My code is almost the same as in the demo. I just added form tag becouse it complained for it.</p> <pre><code>&lt;ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich"&gt; &lt;p&gt;Here is an example of default tab panel with 3 tabs.&lt;/p&gt; &lt;h:form&gt; &lt;rich:tabPanel&gt; &lt;rich:tab label="First"&gt; Here is tab #1 &lt;/rich:tab&gt; &lt;rich:tab label="Second"&gt; Here is tab #2 &lt;/rich:tab&gt; &lt;rich:tab label="Third"&gt; Here is tab #3 &lt;/rich:tab&gt; &lt;/rich:tabPanel&gt; &lt;br/&gt;&lt;br/&gt; &lt;p&gt;Here is an example of tab panel switched in "ajax" style. Second tab is disabled.&lt;/p&gt; &lt;rich:tabPanel switchType="ajax"&gt; &lt;rich:tab label="First"&gt; Here is tab #1 &lt;/rich:tab&gt; &lt;rich:tab label="Second" disabled="true"&gt; Here is tab #2 &lt;/rich:tab&gt; &lt;rich:tab label="Third"&gt; Here is tab #3 &lt;/rich:tab&gt; &lt;/rich:tabPanel&gt; &lt;br/&gt;&lt;br/&gt; &lt;p&gt;Here is an example of tab panel switched completely on client.&lt;/p&gt; &lt;rich:tabPanel switchType="client"&gt; &lt;rich:tab label="First"&gt; Here is tab #1 &lt;/rich:tab&gt; &lt;rich:tab label="Second"&gt; Here is tab #2 &lt;/rich:tab&gt; &lt;rich:tab label="Third"&gt; Here is tab #3 &lt;/rich:tab&gt; &lt;/rich:tabPanel&gt; &lt;/h:form&gt; &lt;/ui:composition&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload