From: Gopalakrishnan, Jaya
Sent: Friday, June 09, 2006 3:24 PM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: Trying to work with Tomahawk Tabbed Panes
Importance: High
<%@
taglib uri="http://www.ibm.com/jsf/BrowserFramework" prefix="odc"%><%@
taglib uri="http://www.ibm.com/jsf/html_extended" prefix="hx"%><%@
taglib uri="http://java.sun.com/jsf/html" prefix="h"%><%@
taglib uri="http://java.sun.com/jsf/core" prefix="f" %><
HTML><
HEAD><%@
page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %><
META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><
META name="GENERATOR" content="IBM WebSphere Studio"><
META http-equiv="Content-Style-Type" content="text/css"><
LINK href="theme/Master.css" rel="stylesheet" type="text/css"><
TITLE>TabbedPanesJSP.jsp</TITLE><
LINK rel="stylesheet" type="text/css" href="theme/tabpanel.css" title="Style"></
HEAD><BODY><body>
<f:view>
<t:panelTabbedPane bgcolor="#FF0000">
<t:panelTab id="tab01" label="Tab No.1">
<t:outputText value="something"></t:outputText>
</t:panelTab>
<t:panelTab id="tab02" label="Tab No.2">
<t:outputText value="something else"></t:outputText>
</t:panelTab>
</t:panelTabbedPane>
</f:view>
</BODY>
</HTML>
---------------------------------------------------------------------------------------------------------------------------
I have put tomahawk1.1.2. jar in the web-inf/lib folder, along with jsf-api.jar, jsf-impl.jar, jstl.jar.
In the web.xml i have put the following entry:
----------------------------------------------------------------------------------------------------------------------------
<
filter> <filter-name>extensionsFilter</filter-name> <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter
</filter-class> </filter> <filter-mapping> <filter-name>extensionsFilter</filter-name> <url-pattern>*.jsf</url-pattern> </filter-mapping> <filter-mapping> <filter-name>extensionsFilter</filter-name> <url-pattern>*.faces</url-pattern> </filter-mapping> <filter-mapping> <filter-name>extensionsFilter</filter-name> <url-pattern>/faces/*</url-pattern> </filter-mapping>--------------------------------------------------------------------------------------------------------------------------------
However, when I run the application, I get the following exception:
E SRVE0026E: [Servlet Error]-[Filter [extensionsFilter]: filter is unavailable.]: java.lang.NoClassDefFoundError: org/apache/commons/fileupload/FileUploadat org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:114)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)
---------------------------------------------------------------------------------------------------------------------------------------------------------
Wht is it that is wrong? Can anybody please suggest?

