tabPanel won't switch tabs
vladodias Apr 2, 2014 2:23 AMHi all,
I have a very simple project where I'm trying to use RichFaces on Weblogic 10.3.6...
Most of the components work ok, but I have a tabPanel and the switch between tabs just doesn't work, the mouse changes to a hand when I hover over the header of the tab#2, but nothing happens when I click on it... I couldn't find anything in the server logs also...
Hope somebody here can give me any insights... Here's my code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich"> <ui:composition> <h:head/> <rich:tabPanel switchType="client"> <rich:tab header="tab#1"> tab#1 </rich:tab> <rich:tab header="tab#2"> tab#2 </rich:tab> </rich:tabPanel> </ui:composition> </html>
<?xml version = '1.0' encoding = 'windows-1252'?> <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5"> <context-param> <param-name>javax.faces.FACELETS_VIEW_MAPPINGS</param-name> <param-value>*.jsf;*.xhtml</param-value> </context-param> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>/faces/*</url-pattern> </servlet-mapping> <context-param> <param-name>org.richfaces.skin</param-name> <param-value>blueSky</param-value> </context-param> </web-app>
Cheers,
Vlad