Gerald Müllan <gmuellan <at> apache.org> writes:

> 
> Hi,
> 
> please do also append the corresponding snippet of your web.xml.
> 
> cheers,
> 
> Gerald
> 
> On Jan 24, 2008 12:56 PM, Alvi <qadeeralvi <at> yahoo.com> wrote:
> > Hi,
> >
> > I am trying to make a simple tab page. My code is..
> >
> > <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
> > <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
> > <%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t"%>
> > <html>
> > <head>
> > <title>t:panelTabbedPane example<title>
> > </head>
> > <body>
> > <center>
> > <f:view>
> > <t:panelTabbedPane width="400" bgcolor="#cddcf6"
> > align="center"
> > serverSideTabSwitch="false"
> > selectedIndex="0">
> > <t:panelTab label="First">
> > <h:form id="form1">
> > <t:outputText value="Client Side First Tab Content."/>
> > </h:form>
> > </t:panelTab>
> > <t:panelTab label="Second">
> > <h:form id="form2">
> > <t:outputText value="Client Side Second Tab Content." />
> > </h:form>
> > </t:panelTab>
> > </t:panelTabbedPane>
> > </f:view>
> > </center>
> > </body>
> > </html>
> >
> > When I run, I got following error..
> >
> > "ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages 
not
> > covered. Please see: 
http://myfaces.apache.org/tomahawk/extensionsFilter.html";
> >
> > I have setuped extension filter on web.xml file. Still I have same error.
> > Any one has any idea???
> >
> >
> 



Hi,

web.xml file code is..

 <context-param>
    <param-name>facelets.LIBRARIES</param-name>
    <param-value>/WEB-INF/tomahawk.taglib.xml</param-value>
  </context-param>
  <filter>
    <filter-name>extensionsFilter</filter-name>
    <filter-  
class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
    <init-param>
      <param-name>uploadMaxFileSize</param-name>
      <param-value>100m</param-value>
      <description>Set the size limit for uploaded files.
                Format: 10 - 10 bytes
                        10k - 10 KB
                        10m - 10 MB
                        1g - 1 GB</description>
    </init-param>
    <init-param>
      <param-name>uploadThresholdSize</param-name>
      <param-value>100k</param-value>
      <description>Set the threshold size - files
                    below this limit are stored in memory, files above
                    this limit are stored on disk.

                Format: 10 - 10 bytes
                        10k - 10 KB
                        10m - 10 MB
                        1g - 1 GB</description>
    </init-param>
  </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>


Thanks for quick reply..





Reply via email to