title: richfaces 4 rich:tabPanel switchType="client" exception
body: <p>I want to use the richfaces 4 rich:tabPanel and I have this code:</p>
  
  <pre><code>&lt;rich:tabPanel id="tabMenu" switchType="client"&gt;
                  &lt;rich:tab id="overview" header="Overview"&gt;
                  &lt;/rich:tab&gt;
                  &lt;rich:tab id="results" header="Results"&gt;
                  &lt;/rich:tab&gt;
              &lt;/rich:tabPanel&gt;
  </code></pre>
  
  <p>when I try to acces the page with the tabMenu I get this exception:</p>
  
  <pre><code>java.lang.IllegalArgumentException: Cannot convert client of type class java.lang.String to class org.richfaces.component.SwitchType
      at com.sun.el.lang.ELSupport.coerceToType(ELSupport.java:329)
  </code></pre>
  
  <p>The code works fine if I remove switchType attribute</p>
  
  <p>I suspect that it might be a dependency problem, and these are the dependencies I have:</p>
  
  <pre><code>richfaces-components-ui 4.1.0 Final
  richfaces-core-impl 4.1.0 Final
  </code></pre>
  
  <p>Any idea why I get this exception</p>