Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
75
Unable to load any theme
posted

hi

i am using trial version of Infragistics and make a sample web application and add gridView control on my page ,but i am unable to lad the theme on my jsf page even default theme is no loaded.

 

here is web.xml file

////web.xml

<?xml version="1.0" encoding="UTF-8"?>

<!--
 Copyright 2005 Infragistics. All rights reserved.
 Infragistics PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
-->

<web-app
    version="2.4"
    xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

    <description>Samples for Infragistics Component Studio</description>
    <display-name>Infragistics Component Studio - Samples</display-name>

    <context-param>
        <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
        <param-value>server</param-value>
    </context-param>
  
    <context-param>
      <param-name>javax.faces.CONFIG_FILES</param-name>
      <param-value>/WEB-INF/navigation.xml,/WEB-INF/managed-beans.xml</param-value>
    </context-param>

    <!-- Listener to configure JSF. This listener is NOT required for most app servers
        as it is picked up automatically from the jsf jars.
        However some app servers such as Jetty, Resin, Oracle do NOT comply with the
        Servlet 2.3 Spec rule of calling listeners defined
        in tld files of a jar.
        It seems safe to call the listener even though it's correctly picked up
        by the app server.
    -->
    <listener>
        <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
    </listener>
   
    <!-- Faces Servlet -->
    <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>

    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>

</web-app>

/// end of xml file

 

///and here is my jsp file

 

<%@ page contentType="text/html" language="java"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib prefix="ig" uri="http://ko.infragistics.com/faces/netadvantage"%>
<html>
<head>
<title>Infragistics NetAdvantage For Java Server Faces - Demo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="description"
    content="Infragistics NetAdvantage for Java Server Faces - Basic Grid Example">
<link href="../../resources/default.css" rel="stylesheet"
    type="text/css">
</head>
<body class="rightPanel">
<f:view>
    <h:form>
        <h:panelGroup >
            <h:outputText
                value="WebGrid - Automatic Paging" />
            <h:panelGroup >
<%-- ===================================     INFRAGISTICS-CODE     ==================================== --%>
                <ig:gridView
                    dataSource="#{webgrid_employeeDAO.employees}"
                    pageSize="10">
                    <f:facet name="header">
                        <h:outputText value="Employee List" />
                    </f:facet>
                    <ig:column>
                        <f:facet name="header">
                            <h:outputText value="First Name" />
                        </f:facet>
                        <h:outputText value="#{DATA_ROW.firstName}" />
                    </ig:column>
                    <ig:column>
                        <f:facet name="header">
                            <h:outputText value="Last Name" />
                        </f:facet>
                        <h:outputText value="#{DATA_ROW.lastName}" />
                    </ig:column>
                    <ig:column>
                        <f:facet name="header">
                            <h:outputText value="Email" />
                        </f:facet>
                        <h:outputText value="#{DATA_ROW.email}" />
                    </ig:column>
                    <ig:column>
                        <f:facet name="header">
                            <h:outputText value="Phone Number" />
                        </f:facet>
                        <h:outputText value="#{DATA_ROW.phoneNumber}" />
                    </ig:column>
                </ig:gridView>
<%-- ===================================     INFRAGISTICS-CODE     ==================================== --%>
            </h:panelGroup>           
        </h:panelGroup>
    </h:form>
</f:view>
</body>
</html>

///end of jsp file

i hav cpied all the jars and resources in my appp

 

plz help me 

here my direcotry structur

i am using eclipse 3.1.0

jjboss-4.0.3SP1

jsf 1.1

 

thanx

 

Parents
No Data
Reply Children