2 Replies Latest reply on Sep 6, 2007 5:32 AM by Ilya Shaikovsky

    rich:tab Why doesn't this work???

    Samuel Doyle Apprentice

      I'm simply trying to redirect to another page when the tab is clicked. The new page is not redirected to.

      <rich:tab switchtyp="client" rendered="#{s:hasRole('admin')}" label="Admin" onclick="document.location.href='/admin.seam'">
       <ui:include src="menu.xhtml">
       <ui:param name="projectName" value="#{projectName}"/>
       </ui:include>
       </rich:tab>