1 2 Previous Next 15 Replies Latest reply on Apr 11, 2007 8:08 PM by rachana patel

    Rich faces skins not coming(newbie question)

    rachana patel Newbie

      Hi,
      I am trying to use rich faces in my application.
      Following are the jars which I included in my WEBINF/lib:
      richfaces-3.0.0.jar, ajax4jsf-1.1.0.jar, oscache-2.3.jar

      Folllowing is the declaration in my web.xml:

      <context-param>
       <param-name>org.ajax4jsf.SKIN</param-name>
       <param-value>blueSky</param-value>
       </context-param>
       <filter>
       <display-name>Ajax4jsf Filter</display-name>
       <filter-name>ajax4jsf</filter-name>
       <filter-class>org.ajax4jsf.Filter</filter-class>
       </filter>
       <filter-mapping>
       <filter-name>ajax4jsf</filter-name>
       <servlet-name>Faces Servlet</servlet-name>
       <dispatcher>REQUEST</dispatcher>
       <dispatcher>FORWARD</dispatcher>
       <dispatcher>INCLUDE</dispatcher>
       </filter-mapping>
      
      

      In the jsp:
      <rich:panel rendered="#{processScope.renDerCustSearch == 'true'}" style="height: 200px; min-height: 200px;overflow: auto;" >
       <f:facet name="header">
       <h:outputText value="Search Customer"/>
       </f:facet>
       </rich:panel>


      I dont see any style being applied to header. Its a plain text.
      Please let me know where can I be wrong.

      Thanks in advance.







        • 1. Re: Rich faces skins not coming(newbie question)
          Sergey Smirnov Master

          How it is the header of your page?

          • 2. Re: Rich faces skins not coming(newbie question)
            rachana patel Newbie

            I was just testing it for now. Its supposed to be the header of one of the subsections in the JSP.

            • 4. Re: Rich faces skins not coming(newbie question)
              rachana patel Newbie

              In the header there are going to be fields for searching certain fields. but since I was just trying to start with rich faces I wrote only this much of code:

              <rich:panel rendered="#{processScope.renDerCustSearch == 'true'}" style="height: 200px; min-height: 200px;overflow: auto;" >
               <f:facet name="header">
               <h:outputText value="Search Customer"/>
               </f:facet>
               </rich:panel>


              But I dont see any style being applied to header.


              • 5. Re: Rich faces skins not coming(newbie question)
                Sergey Smirnov Master

                Ok. More simple question to you. Could you post the whole page code here?

                • 6. Re: Rich faces skins not coming(newbie question)
                  rachana patel Newbie

                  Here is the code:

                  <rich:panel rendered="#{processScope.renDerCustSearch == 'true'}" style="height: 200px; min-height: 200px;overflow: auto;" >
                   <f:facet name="header">
                   <h:outputText value="Search Customer"/>
                   </f:facet>
                  <h:panelGrid columns="3" border="0">
                  
                   <h:outputText styleClass="pr_bold" style="vertical-align: top; padding-top: 3px;padding-right: 5px;" value="#{msg.isellForm_CustomerSection_Name}" />
                   <a4j:outputPanel ajaxRendered="true">
                   <h:inputText binding="#{backing_CustSearchBean.inputText1}" style="width: 140px; margin-right: 0px;"
                   value="Last Name"
                   styleClass="clear_app_default_text"
                   id="inputText1"
                   onblur="againFillDefaultValueinAPP('form1:inputText1','Last Name');"
                   onfocus="emptyTextBoxInAPP('form1:inputText1','dt_normal','Last Name');"
                   />
                   </a4j:outputPanel>
                  
                   <a4j:outputPanel ajaxRendered="true">
                   <h:inputText binding="#{backing_CustSearchBean.inputText2}" value="First Name" styleClass="clear_app_default_text"
                   style="width: 150px" id="inputText2"
                   onblur="againFillDefaultValueinAPP('form1:inputText2','First Name');"
                   onfocus="emptyTextBoxInAPP('form1:inputText2','dt_normal','First Name');"
                   />
                   </a4j:outputPanel>
                  
                   </h:panelGrid>
                   <h:panelGrid columns="4" border="0">
                   <h:outputText styleClass="pr_bold" style="vertical-align: top; padding-top: 3px; width: 50px;" value="#{msg.isellForm_CustomerSection_Email}" />
                  
                   <a4j:outputPanel ajaxRendered="true">
                   <h:inputText binding="#{backing_CustSearchBean.inputText3}" style="width: 120px"
                   id="inputText3"
                   />
                   </a4j:outputPanel>
                  
                   <h:outputText styleClass="pr_bold" style="vertical-align: top; padding-top: 3px; width: 47px;" value="#{msg.isellForm_CustomerSection_Phone}" />
                  
                   <a4j:outputPanel ajaxRendered="true">
                   <h:inputText binding="#{backing_CustSearchBean.inputText4}" style="width: 120px"
                   id="inputText4"
                   />
                   </a4j:outputPanel>
                  
                  
                   <h:outputText styleClass="pr_bold" style="vertical-align: top; padding-top: 3px; width: 50px;" value="#{msg.isellForm_CustomerSection_Country}" />
                  
                   <a4j:outputPanel ajaxRendered="true">
                   <h:inputText binding="#{backing_CustSearchBean.inputText5}" style="width: 120px"
                   id="inputText5"
                   />
                   </a4j:outputPanel>
                  
                   <h:outputText styleClass="pr_bold" style="vertical-align: top; padding-top: 3px; width: 47px;" value="#{msg.isellForm_CustomerSection_WO}" />
                  
                   <a4j:outputPanel ajaxRendered="true">
                   <h:inputText binding="#{backing_CustSearchBean.inputText6}" style="width: 120px"
                   id="inputText6"
                   />
                   </a4j:outputPanel>
                   </h:panelGrid>
                   <h:panelGrid columns="2" border="0" style="margin-top: 15px" columnClasses="colQ1,colS2">
                   <h:panelGrid columns="2" border="0" columnClasses="colC1, colC2">
                   <a4j:commandButton value="#{msg.isellForm_CustomerSection_Refreshbl}"
                   id="commandButton1" style="padding-right: 5px" action="#{backing_CustSearchBean.searchReset}"
                   oncomplete="enableOpp();"
                   >
                   <f:param name="whichReset" value="fromCustSearch" />
                   </a4j:commandButton>
                   <a4j:commandButton value="Quick Create" action="#{backing_CustSearchBean.serchCustomer}" oncomplete="showCreateSec();enableOpp();">
                   <f:param name="showQuickCreate" value="CreateFrmSearch" />
                   </a4j:commandButton>
                   </h:panelGrid>
                   <a4j:commandButton
                   id="commandButton3"
                   action="#{backing_CustSearchBean.serchCustomer}"
                   oncomplete="showCreateSec();enableOpp();document.getElementById('form1:wheel').style.display = 'none';"
                   image="images/btn_search.gif"
                   style="position: relative; margin-left: 8px;"
                   onclick="showWheel()"
                   >
                   <f:param name="showQuickCreate" value="FrmSearch" />
                   <j4j:defaultAction />
                   </a4j:commandButton>
                   <d:appleDiv id="wheel" style="display: none" >
                   <htm:img src="images/SpinGear2.gif" style="position: absolute; left: 378px; top: 229px; width: 19px; height: 18px;" />
                   </d:appleDiv>
                   </h:panelGrid>
                  
                   </h:panelGrid>
                  </rich:panel>


                  • 7. Re: Rich faces skins not coming(newbie question)
                    Sergey Smirnov Master

                    Still do no see how the namespaces for library prefixes defined. Show the whole page, not only the part of it.

                    • 8. Re: Rich faces skins not coming(newbie question)
                      rachana patel Newbie

                      I am sorry to disappoint you but whole page is very long :
                      But here I am trying to give you the idea:

                      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                      "http://www.w3.org/TR/html4/loose.dtd">
                      <%@ page contentType="text/html;charset=ISO-8859-1"%>
                      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
                      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
                      <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
                      <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
                       <%@ taglib uri="/WEB-INF/appleDiv.tld" prefix="d"%>
                       <%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a4j"%>
                       <%@ taglib uri="http://jsftutorials.net/htmLib" prefix="htm" %>
                       <%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="rich"%>
                      <%@ taglib uri="http://javascript4jsf.dev.java.net/" prefix="j4j" %>
                      <f:loadBundle basename="com.apple.ist.isell.resources.message_resources" var="msg"/>
                      <f:view>
                       <htm:html >
                       <head>
                      </head>
                       <htm:body id="body1" onload="enableOpp();disable();">
                      
                       <htm:table id="pg_main" cellpadding="0" cellspacing="0" border="0"
                       style="position: relative; background-image:url(images/title_gray.png); background-repeat:repeat-x; background-position: top; height:55px; width: 1007px; margin: 0px; margin-left: 5px; border-left: solid 1px #CCCCCC; border-right: solid 1px #CCCCCC">
                       <htm:tr>
                       ......
                       </htm:tr>
                       </htm:table>
                      
                       <htm:table sid="pg_main" cellpadding="0" cellspacing="0" border="0"
                       style="width: 1000px">
                       <htm:tr>
                       <htm:td>
                       <htm:table sid="bdy_main" cellpadding="0" border="0" cellspacing="0" style="margin-top: 5px">
                       <htm:tr>
                       <htm:td sid="col_left">
                       <h:form id="form1" binding="#{backing_CustSearchBean.form1}">
                       <a4j:outputPanel ajaxRendered="true" >
                       <h:inputHidden id="onlyonename" value="#{backing_CustSearchBean.onlyonename}" />
                       <h:inputHidden id="allEmpty" value="#{backing_CustSearchBean.allEmpty}" />
                       <h:inputHidden id="jsfHidden" value="#{backing_CustSearchBean.jsfHidden}" />
                       <h:inputHidden id="hdnOppStatus" value="#{backing_CustSearchBean.hdnOppStatus}" />
                       <h:inputHidden id="hdnOppId" value="#{backing_CustSearchBean.hdnOppId}" />
                       <h:inputHidden id="hdnDescr" value="#{backing_CustSearchBean.hdnDescr}" />
                       <h:inputHidden id="strouturl" value="#{backing_CustSearchBean.strouturl}" />
                       <h:inputHidden id="missingStoreVal" value="#{backing_CustSearchBean.missingStoreVal}" />
                       </a4j:outputPanel>
                      
                       <a4j:jsFunction name="disable" action="#{backing_CustSearchBean.disable}" >
                       </a4j:jsFunction>
                      
                       <a4j:jsFunction name="homeFunction" action="#{backing_CustSearchBean.goToHome}" oncomplete="openNewURrl()">
                       <f:param name="location" value="tohome" />
                       </a4j:jsFunction>
                       <a4j:jsFunction name="logoutFunction" action="#{backing_CustSearchBean.goToHome}" oncomplete="openNewURrl()">
                       <f:param name="location" value="tologout" />
                       </a4j:jsFunction>
                       <!-- 1. Customer Search Section Begins -->
                      
                       <a4j:outputPanel ajaxRendered="true">
                       <rich:panel rendered="#{processScope.renDerCustSearch == 'true'}" style="height: 200px; min-height: 200px;overflow: auto;" >
                       <f:facet name="header">
                       <h:outputText value="Search Customer"/>
                       </f:facet>
                      <h:panelGrid columns="3" border="0">
                      
                       <h:outputText styleClass="pr_bold" style="vertical-align: top; padding-top: 3px;padding-right: 5px;" value="#{msg.isellForm_CustomerSection_Name}" />
                       <a4j:outputPanel ajaxRendered="true">
                       <h:inputText binding="#{backing_CustSearchBean.inputText1}" style="width: 140px; margin-right: 0px;"
                       value="Last Name"
                       styleClass="clear_app_default_text"
                       id="inputText1"
                       onblur="againFillDefaultValueinAPP('form1:inputText1','Last Name');"
                       onfocus="emptyTextBoxInAPP('form1:inputText1','dt_normal','Last Name');"
                       />
                       </a4j:outputPanel>
                      
                       <a4j:outputPanel ajaxRendered="true">
                       <h:inputText binding="#{backing_CustSearchBean.inputText2}" value="First Name" styleClass="clear_app_default_text"
                       style="width: 150px" id="inputText2"
                       onblur="againFillDefaultValueinAPP('form1:inputText2','First Name');"
                       onfocus="emptyTextBoxInAPP('form1:inputText2','dt_normal','First Name');"
                       />
                       </a4j:outputPanel>
                      
                       </h:panelGrid>
                       <h:panelGrid columns="4" border="0">
                       <h:outputText styleClass="pr_bold" style="vertical-align: top; padding-top: 3px; width: 50px;" value="#{msg.isellForm_CustomerSection_Email}" />
                      
                       <a4j:outputPanel ajaxRendered="true">
                       <h:inputText binding="#{backing_CustSearchBean.inputText3}" style="width: 120px"
                       id="inputText3"
                       />
                       </a4j:outputPanel>
                      
                       <h:outputText styleClass="pr_bold" style="vertical-align: top; padding-top: 3px; width: 47px;" value="#{msg.isellForm_CustomerSection_Phone}" />
                      
                       <a4j:outputPanel ajaxRendered="true">
                       <h:inputText binding="#{backing_CustSearchBean.inputText4}" style="width: 120px"
                       id="inputText4"
                       />
                       </a4j:outputPanel>
                      
                      
                       <h:outputText styleClass="pr_bold" style="vertical-align: top; padding-top: 3px; width: 50px;" value="#{msg.isellForm_CustomerSection_Country}" />
                      
                       <a4j:outputPanel ajaxRendered="true">
                       <h:inputText binding="#{backing_CustSearchBean.inputText5}" style="width: 120px"
                       id="inputText5"
                       />
                       </a4j:outputPanel>
                      
                       <h:outputText styleClass="pr_bold" style="vertical-align: top; padding-top: 3px; width: 47px;" value="#{msg.isellForm_CustomerSection_WO}" />
                      
                       <a4j:outputPanel ajaxRendered="true">
                       <h:inputText binding="#{backing_CustSearchBean.inputText6}" style="width: 120px"
                       id="inputText6"
                       />
                       </a4j:outputPanel>
                       </h:panelGrid>
                       <h:panelGrid columns="2" border="0" style="margin-top: 15px" columnClasses="colQ1,colS2">
                       <h:panelGrid columns="2" border="0" columnClasses="colC1, colC2">
                       <a4j:commandButton value="#{msg.isellForm_CustomerSection_Refreshbl}"
                       id="commandButton1" style="padding-right: 5px" action="#{backing_CustSearchBean.searchReset}"
                       oncomplete="enableOpp();"
                       >
                       <f:param name="whichReset" value="fromCustSearch" />
                       </a4j:commandButton>
                       <a4j:commandButton value="Quick Create" action="#{backing_CustSearchBean.serchCustomer}" oncomplete="showCreateSec();enableOpp();">
                       <f:param name="showQuickCreate" value="CreateFrmSearch" />
                       </a4j:commandButton>
                       </h:panelGrid>
                       <a4j:commandButton
                       id="commandButton3"
                       action="#{backing_CustSearchBean.serchCustomer}"
                       oncomplete="showCreateSec();enableOpp();document.getElementById('form1:wheel').style.display = 'none';"
                       image="images/btn_search.gif"
                       style="position: relative; margin-left: 8px;"
                       onclick="showWheel()"
                       >
                       <f:param name="showQuickCreate" value="FrmSearch" />
                       <j4j:defaultAction />
                       </a4j:commandButton>
                       <d:appleDiv id="wheel" style="display: none" >
                       <htm:img src="images/SpinGear2.gif" style="position: absolute; left: 378px; top: 229px; width: 19px; height: 18px;" />
                       </d:appleDiv>
                       </h:panelGrid>
                      
                       </h:panelGrid>
                       </rich:panel>
                       </a4j:outputPanel>
                       <a4j:outputPanel id="custInfo" ajaxRendered="true">
                       <d:customDiv id="singleCust" rendered="#{processScope.renDerCustInfo == 'true'}" styleClass="component" style="height: 200px; border-style: solid; border-top-style: block; overflow: auto;">
                       <htm:table cellpadding="0" cellspacing="0" border="0">
                       <htm:tr >
                       <htm:td styleClass="sect_header">
                       <h:outputLabel value="Customer Info" />
                       </htm:td>
                       <htm:td styleClass="sect_header">
                       </htm:td>
                       <htm:td styleClass="sect_header" align="right" valign="middle">
                       <h:graphicImage url="images/btn_search.gif" style="padding-left: 280px" onclick="custInfoReset()" />
                       </htm:td>
                       </htm:tr>
                       </htm:table>
                      
                      
                       <h:panelGrid columns="1" border="0" headerClass="sect_footer">
                       <f:facet name="header" >
                       <h:outputText styleClass="dt_normal pr_red" style="font-weight: bold; font-size: 12;" value="#{processScope.singleCustData.display_name}" />
                       </f:facet>
                      
                      
                      
                      
                       <h:panelGrid>
                       .....
                       .....
                       </h:panelGrid>
                      
                      
                       </d:customDiv>
                       </a4j:outputPanel>
                      
                      
                      
                       <!-- Quick create begins here -->
                      
                       <a4j:outputPanel id="quickCreatepanel" ajaxRendered="true">
                       <d:customDiv id="quickCreate" rendered="#{processScope.renDerQuickCreate == 'true'}" styleClass="component" style="height: 400px; border-style: solid; border-top-style: block; overflow: hidden" >
                       <htm:table>
                       <htm:tr>
                       <htm:td styleClass="sect_header" >
                       <h:outputLabel value="Quick Create" />
                       </htm:td>
                      
                       </htm:tr>
                       </htm:table>
                       <htm:div style="overflow:auto;height: 375px;">
                      
                       <h:panelGrid columns="1" border="0" footerClass="sect_footer" styleClass="pr_bold">
                       .....
                       ......
                      
                       </h:panelGrid>
                       </htm:div>
                       </d:customDiv>
                       </a4j:outputPanel>
                       <!-- Quick create ends here -->
                      
                       <a4j:outputPanel id="searchInfo" ajaxRendered="true">
                       <d:customDiv rendered="#{processScope.renDerSearchResults == 'true'}" styleClass="component" style="height: 400px; border-style: solid; border-top-style: block;overflow: auto;" >
                      
                       <htm:table cellpadding="0" cellspacing="0" border="0">
                       <htm:tr>
                       <htm:td styleClass="sect_header">
                       <h:outputLabel value="Search Results" />
                       </htm:td>
                       <htm:td styleClass="sect_header" valign="middle">
                       <htm:img id="srchwheel" src="images/SpinGear2.gif" style="position;relative; left:378px;top:290px;display: none;position: absolute;width: 19px; height: 18px;valign: middle" />
                       </htm:td>
                       </htm:tr>
                       </htm:table>
                      
                       <h:dataTable var="myList" width="100%" headerClass="sect_header" value="#{processScope.rsBean.custInfoDao}" style="border-style: none" rowClasses="row1Bckgrd, row2Bckgrd" columnClasses="dt_normal">
                      
                       </h:dataTable>
                       </a4j:outputPanel>
                      
                       </d:customDiv>
                       </a4j:outputPanel>
                       <a4j:outputPanel id="transInfo" ajaxRendered="true">
                       <d:customDiv id="singleTrans" styleClass="component" rendered="#{processScope.renDerCustInfo == 'true'}" style="height: 400px;">
                      
                       <h:panelGrid columns="2" rules="groups" headerClass="sect_header" rowClasses="rowT1" width="100%" columnClasses="colL1, colT2" cellpadding="0" cellspacing="0">
                       <f:facet name="header">
                       <h:outputText value="Transaction Info"/>
                       </f:facet>
                       <center>
                       <h:panelGrid columns="1" border="0" cellpadding="0" cellspacing="0">
                       <h:outputLabel styleClass="transRdbutton" value="Last Order" style="cursor:pointer; margin-bottom: 2px" onclick="showResults()" />
                       <h:outputLabel styleClass="transRdbutton" value="#{sessionScope.opportunity}" style="cursor:pointer" onclick="showOpp()"/>
                       </h:panelGrid>
                       </center>
                      
                       <center>
                       <h:panelGrid columns="1" rendered="#{processScope.renDerLastOrder == 'true'}" columnClasses="colL" style="width:200px;margin-left: 47px;background-color: #fffacd;border-color: #AAAAAA;border-width: 1px;overflow: auto;" rowClasses="rowH">
                      
                       </h:panelGrid>
                       <h:panelGrid columns="1" border="0" rendered="#{processScope.renDerOpportunity == 'true'}" columnClasses="colL" style="width:295px;" rowClasses="rowH">
                      
                       </h:panelGrid>
                       </h:panelGrid>
                       </center>
                      
                       </d:customDiv>
                       </a4j:outputPanel>
                      
                       <a4j:jsFunction name="showResults" action="#{backing_CustSearchBean.loadTransInfoData}" />
                       <a4j:jsFunction name="showOpp" action="#{backing_CustSearchBean.loadOppData}" oncomplete="enableOpp()"/>
                       <a4j:jsFunction name="showOppSelected" action="#{backing_CustSearchBean.getOppNoData}" oncomplete="enableOpp()">
                       <a4j:actionparam name="opp_name" assignTo="#{backing_CustSearchBean.currentOppName}"></a4j:actionparam>
                       </a4j:jsFunction>
                       <a4j:jsFunction name="custInfoReset" action="#{backing_CustSearchBean.searchReset}" oncomplete="enableOpp()">
                       <f:param name="whichReset" value="fromCustInfo" />
                       </a4j:jsFunction>
                       <a4j:jsFunction name="getDsId" action="#{backing_CustSearchBean.getDSID}" >
                       <f:param name="boId" value="#{processScope.singleCustData.bo_id}" />
                       </a4j:jsFunction>
                       </h:form>
                       </htm:td>
                      
                       <htm:td sid="col_right">
                       <!-- 3. Apple Launcher Section Begins -->
                      
                       <f:subview id="rtform">
                       <jsp:include page="/opportunity.jsp" />
                       </f:subview>
                       <!-- 5. Knowledege management Section Ends -->
                       </htm:td>
                       </htm:tr>
                       </htm:table>
                       </htm:td>
                       </htm:tr>
                       </htm:table>
                      
                      
                      <htm:table cellpadding="0" cellspacing="0" border="0" style="margin: 0px; width: 1010px; margin-bottom: 1px; margin-to: 5px; margin-left: 5px" styleClass="component">
                       <htm:tr valign="middle">
                       <htm:td styleClass="sect_subheader" style="width: 219px; overflow:hidden; border-color:#999999; border-width: 1px; border-right-style: solid" align="center">News Alert</htm:td>
                       </htm:tr>
                       <htm:tr>
                       <htm:td styleClass="dt_small" align="center" style="font-weight: bold; background-color:#EEEEEE; color: #555555;
                       border-width: 1px; border-color:#999999;" height="25"><htm:span styleClass="pr_e_red">Inspire, Deliver, Delight!</htm:span>
                      
                       </htm:td>
                       </htm:tr>
                       </htm:table>
                       </htm:body>
                       </htm:html>
                      </f:view>
                      


                      • 9. Re: Rich faces skins not coming(newbie question)
                        Sergey Smirnov Master

                         

                        <%@ page contentType="text/html;charset=ISO-8859-1"%>
                        <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
                        <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
                        <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
                        <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
                        <%@ taglib uri="/WEB-INF/appleDiv.tld" prefix="d"%>
                        <%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a4j"%>
                        <%@ taglib uri="http://jsftutorials.net/htmLib" prefix="htm" %>
                        <%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="rich"%>
                        <%@ taglib uri="http://javascript4jsf.dev.java.net/" prefix="j4j" %>


                        That what I asked you about. You have a great zoo on the page. How the web.xml looks like? (the code snippet above it too small).

                        Do you use FireFox?

                        • 10. Re: Rich faces skins not coming(newbie question)
                          rachana patel Newbie

                          My web.xml is as follows:

                          <?xml version="1.0" encoding="ISO-8859-1"?>
                           
                          <web-app 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"
                                      version="2.4">
                          
                           <description>Empty web.xml file for Web Application</description>
                           <context-param>
                           <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
                           <param-value>server</param-value>
                           </context-param>
                          
                           <context-param>
                          
                           <param-name>org.ajax4jsf.SKIN</param-name>
                          
                           <param-value>blueSky</param-value>
                          
                           </context-param>
                          
                           <filter>
                          
                           <display-name>Ajax4jsf Filter</display-name>
                          
                           <filter-name>ajax4jsf</filter-name>
                          
                           <filter-class>org.ajax4jsf.Filter</filter-class>
                          
                           </filter>
                          
                           <filter-mapping>
                          
                           <filter-name>ajax4jsf</filter-name>
                          
                           <servlet-name>Faces Servlet</servlet-name>
                          
                           <dispatcher>REQUEST</dispatcher>
                          
                           <dispatcher>FORWARD</dispatcher>
                          
                           <dispatcher>INCLUDE</dispatcher>
                          
                           </filter-mapping>
                          
                           <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>
                          
                           <session-config>
                           <session-timeout>35</session-timeout>
                           </session-config>
                           <mime-mapping>
                           <extension>html</extension>
                           <mime-type>text/html</mime-type>
                           </mime-mapping>
                           <mime-mapping>
                           <extension>txt</extension>
                           <mime-type>text/plain</mime-type>
                           </mime-mapping>
                           <welcome-file-list>
                           <welcome-file>index.jsp</welcome-file>
                           </welcome-file-list>
                          
                          
                          
                          </web-app>


                          • 12. Re: Rich faces skins not coming(newbie question)
                            rachana patel Newbie

                            My web.xml is as follows:

                            <?xml version="1.0" encoding="ISO-8859-1"?>
                             
                            <web-app 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"
                                        version="2.4">
                            
                             <description>Empty web.xml file for Web Application</description>
                             <context-param>
                             <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
                             <param-value>server</param-value>
                             </context-param>
                            
                             <context-param>
                            
                             <param-name>org.ajax4jsf.SKIN</param-name>
                            
                             <param-value>blueSky</param-value>
                            
                             </context-param>
                            
                             <filter>
                            
                             <display-name>Ajax4jsf Filter</display-name>
                            
                             <filter-name>ajax4jsf</filter-name>
                            
                             <filter-class>org.ajax4jsf.Filter</filter-class>
                            
                             </filter>
                            
                             <filter-mapping>
                            
                             <filter-name>ajax4jsf</filter-name>
                            
                             <servlet-name>Faces Servlet</servlet-name>
                            
                             <dispatcher>REQUEST</dispatcher>
                            
                             <dispatcher>FORWARD</dispatcher>
                            
                             <dispatcher>INCLUDE</dispatcher>
                            
                             </filter-mapping>
                            
                             <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>
                            
                             <session-config>
                             <session-timeout>35</session-timeout>
                             </session-config>
                             <mime-mapping>
                             <extension>html</extension>
                             <mime-type>text/html</mime-type>
                             </mime-mapping>
                             <mime-mapping>
                             <extension>txt</extension>
                             <mime-type>text/plain</mime-type>
                             </mime-mapping>
                             <welcome-file-list>
                             <welcome-file>index.jsp</welcome-file>
                             </welcome-file-list>
                            
                            
                            
                            </web-app>


                            Application is for SAFAR browser, but it should be up on firefox.

                            • 13. Re: Rich faces skins not coming(newbie question)
                              rachana patel Newbie

                              Sorry for above repost of same data..

                              Application is for SAFARI but t should be up on firefox as well.

                              • 14. Re: Rich faces skins not coming(newbie question)
                                Sergey Smirnov Master

                                I asked about browser, because it is easy using fireFox to select some portion of the page and see the source only for selected area.
                                So, what I want to know is what the panel is rendered into. I.e. what is in the result html

                                1 2 Previous Next