4 Replies Latest reply on Dec 31, 2008 10:13 PM by Ryan Cuprak

    Resource Not Found Exception - Seam and RichFaces

    Ryan Cuprak Newbie

      Hello,

      I've run into some trouble using RichFaces with my Seam application. The components I attempt to use, such as the Calendar component, don't work- because the browser is unable to retrieve the java script files. The tomcat log files contain Resource Not Registered exceptions (below). The problem appears to be related to Java 6 Update 10. I am able to reproduce it both on my Linux box and Windows box running 6u10. On the Mac running Java 5 the controls work fine. I cannot definitely say it is 6u10 as it could be random and due to dependency ordering. A standalone RichFaces/JSF application works fine on Java 6 Update 10 which leads me to believe it is some combination of Seam, Rich Faces, and 6u10.

      I did see the earlier posts which recommended resetting the browser cache - that did not work and I tried connecting to the application from two different Macs (Safari) as well as Explorer and Firefox without restarting the web app.

      I am guessing that the list of registered resources is constructed resources-config.xml in the meta-inf directory. I noticed that the RichFaces had two different copies of these files located in the impl and UI jars respectively. Seam also had a resources-config.xml file in its meta-inf directory except it was empty. How is the list of resources being constructed - are all of the resources-config.xml files loaded into a central resource 'manager' or are there separate resource managers?

      I am using RichFaces 3.2.2.SR1 and Seam 2.1.0.CR1.


      Has anyone else run into this problem and solved it?


      Thanks,

      -Ryan


      SEVERE: Servlet.service() for servlet Faces Servlet threw exception
      org.ajax4jsf.resource.ResourceNotFoundException: Resource not registered : org/richfaces/renderkit/html/scripts/skinning.js.seam
              at org.ajax4jsf.resource.ResourceBuilderImpl.getResource(ResourceBuilderImpl.java:397)
              at org.ajax4jsf.resource.ResourceBuilderImpl.getResourceForKey(ResourceBuilderImpl.java:341)
              at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:152)
              at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:141)
              at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:500)
              at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
              at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
              at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
              at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
              at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
              at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
              at java.lang.Thread.run(Thread.java:619)

        • 1. Re: Resource Not Found Exception - Seam and RichFaces
          John Ament Master

          Hi


          Could you please provide the following:


          1. Example of the <script></script> tags that a4j/richfaces is generating.  (should be something like <script src="/a4j/g/3_3_0.BETA4/org/ajax4jsf/framework.pack.js" type="text/javascript"></script> )
          2. All relevant urlrewrites.
          3. Your web.xml.


          • 2. Re: Resource Not Found Exception - Seam and RichFaces
            Ryan Cuprak Newbie

            Hello,
            Page output and web.xml are below. Initially thinking it might have something to do with the urlrewrite stuff I disabled the rewrite filter early on. That didn't make any difference.
            The name of the page is test.xhtml and I directly access it in the browser using test.jsf.


            Thanks,
            -Ryan


            Web.xml:

            <web-app>

                <display-name>Facelets</display-name>
                <description>Facelets StarterKit</description>

                <context-param>
                    <param-name>org.richfaces.SKIN</param-name>
                    <param-value>emeraldTown</param-value>
                </context-param>

                <context-param>
                    <param-name>javax.faces.CONFIG_FILES</param-name>
                    <param-value>/WEB-INF/navigation.xml</param-value>
                </context-param>

                <context-param>
                    <param-name>facelets.REFRESH_PERIOD</param-name>
                    <param-value>2</param-value>
                </context-param>

                <context-param>
                   <param-name>org.richfaces.LoadStyleStrategy</param-name>
                   <param-value>ALL</param-value>
                </context-param>

                <context-param>
                   <param-name>org.richfaces.LoadScriptStrategy</param-name>
                   <param-value>ALL</param-value>
                </context-param>
               

                <context-param>
                    <param-name>facelets.DEVELOPMENT</param-name>
                    <param-value>true</param-value>
                </context-param>
                <context-param>
                    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
                    <param-value>client</param-value>
                </context-param>

                <context-param>
                    <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
                    <param-value>.xhtml</param-value>
                </context-param>

                <context-param>
                    <param-name>com.sun.faces.validateXml</param-name>
                    <param-value>true</param-value>
                    <description>
                        Set this flag to true if you want the JavaServer Faces
                        Reference Implementation to validate the XML in your
                        faces-config.xml resources against the DTD.  Default
                        value is false.
                    </description>
                </context-param>

                <context-param>
                    <param-name>com.sun.faces.verifyObjects</param-name>
                    <param-value>true</param-value>
                    <description>
                        Set this flag to true if you want the JavaServer Faces
                        Reference Implementation to verify that all of the application
                        objects you have configured (components, converters,
                        renderers, and validators) can be successfully created.
                        Default value is false.
                    </description>
                </context-param>

                <listener>
                    <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
                </listener>


                <filter>
                    <display-name>Ajax4jsf Filter</display-name>
                    <filter-name>ajax4jsf</filter-name>
                    <filter-class>org.ajax4jsf.Filter</filter-class>
                </filter>

                <filter>
                    <filter-name>Seam Filter</filter-name>
                    <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
                </filter>


                <!--
                <filter>
                    <filter-name>UrlRewriteFilter</filter-name>
                    <filter-class>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</filter-class>
                </filter>


                <filter-mapping>
                    <filter-name>UrlRewriteFilter</filter-name>
                    <url-pattern>/*</url-pattern>
                </filter-mapping>
                                     -->
                <filter-mapping>
                    <filter-name>Seam Filter</filter-name>
                    <url-pattern>/*</url-pattern>
                </filter-mapping>

                <filter-mapping>
                    <filter-name>ajax4jsf</filter-name>
                    <servlet-name>Faces Servlet</servlet-name>
                    <dispatcher>REQUEST</dispatcher>
                    <dispatcher>FORWARD</dispatcher>
                    <dispatcher>INCLUDE</dispatcher>
                </filter-mapping>


                <!-- 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>
                    <servlet-name>Startup</servlet-name>
                    <servlet-class>org.ctjava.web.StartupServlet</servlet-class>
                    <load-on-startup>1</load-on-startup>
                </servlet>

                <servlet>
                    <servlet-name>Seam Resource Servlet</servlet-name>
                    <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>
                </servlet>

                <servlet-mapping>
                    <servlet-name>Seam Resource Servlet</servlet-name>
                    <url-pattern>/seam/resource/*</url-pattern>
                </servlet-mapping>

                <!-- Faces Servlet Mapping -->
                <servlet-mapping>
                    <servlet-name>Faces Servlet</servlet-name>
                    <url-pattern>*.jsf</url-pattern>
                </servlet-mapping>

                <servlet-mapping>
                    <servlet-name>Faces Servlet</servlet-name>
                    <url-pattern>*.seam</url-pattern>
                </servlet-mapping>

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

                <security-constraint>
                    <display-name>Restrict XHTML Documents</display-name>
                    <web-resource-collection>
                        <web-resource-name>XHTML</web-resource-name>
                        <url-pattern>*.xhtml</url-pattern>
                    </web-resource-collection>
                    <auth-constraint>
                        <description>Only Let 'developer's access XHTML pages</description>
                        <role-name>developer</role-name>
                    </auth-constraint>
                </security-constraint>

                <resource-ref>
                    <res-ref-name>mail/Session</res-ref-name>
                    <res-type>javax.mail.Session</res-type>
                    <res-auth>CONTAINER</res-auth>
                </resource-ref>

            </web-app>



            Generated page:

            <?xml version="1.0" encoding="iso-8859-1"?>
            <!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">
            <head><link class='component' rel='stylesheet' type='text/css' href='/java/a4j/s/3_2_2.SR1org/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAGbo7-tNnT5DGkAEXoDrg__.seam' /><link class='component' rel='stylesheet' type='text/css' href='/java/a4j/s/3_2_2.SR1org/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAGbo7-tNnT5DGkAEXoDrg__.seam' media='rich-extended-skinning' /><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org.ajax4jsf.javascript.PrototypeScript.seam'></script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org.ajax4jsf.javascript.AjaxScript.seam'></script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org/richfaces/renderkit/html/scripts/events.js.seam'></script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org/richfaces/renderkit/html/scripts/utils.js.seam'></script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org/richfaces/renderkit/html/scripts/json/json-dom.js.seam'></script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org/richfaces/renderkit/html/scripts/scriptaculous/effects.js.seam'></script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org/richfaces/renderkit/html/scripts/jquery/jquery.js.seam'></script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org/richfaces/renderkit/html/scripts/JQuerySpinBtn.js.seam'></script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org/richfaces/renderkit/html/scripts/calendar.js.seam'></script><link class='component' rel='stylesheet' type='text/css' href='/java/a4j/s/3_2_2.SR1org/richfaces/renderkit/html/css/calendar.xcss/DATB/eAGbo7-tNnT5DGkAEXoDrg__.seam' /><script type='text/javascript'>window.RICH_FACES_EXTENDED_SKINNING_ON=true;</script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org/richfaces/renderkit/html/scripts/skinning.js.seam'></script></head><body><form id="j_id2" name="j_id2" method="post" action="/java/test.jsf" enctype="application/x-www-form-urlencoded">
                    Pick a date:<span id="j_id2:j_id4Popup"><input class="rich-calendar-input " id="j_id2:j_id4InputDate" name="j_id2:j_id4InputDate" style="vertical-align: middle; " type="text" readonly="readonly" /><img class="rich-calendar-button " id="j_id2:j_id4PopupButton" style="vertical-align: middle" src="/java/a4j/g/3_2_2.SR1org.richfaces.renderkit.html.iconimages.CalendarIcon/DATB/eAFjCGDgnPIfAAPYAe0_.seam" /><input id="j_id2:j_id4InputCurrentDate" name="j_id2:j_id4InputCurrentDate" style="display:none" type="hidden" value="12/2008" /><style type="text/css"><!--
            .j_id2_j_id4DayCell{width:24px;height:22px;}
            --></style></span><div id="j_id2:j_id4IFrame" style="display: none;"></div><div id="j_id2:j_id4" style="display: none;"></div><div id="j_id2:j_id4Script" style="display: none;"><script type="text/javascript"><!--
            new Calendar('j_id2:j_id4', {dayListTableId: 'j_id2:j_id4Day',
                           weekNumberBarId: 'j_id2:j_id4WeekNum',
                           weekDayBarId: 'j_id2:j_id4WeekDay',
                           currentDate: new Date(2008,11,22),
                           selectedDate: null,
                           datePattern: 'd/M/yy HH:mm',
                           jointPoint: 'bottom-left',
                           direction: 'bottom-right',
                           toolTipMode:'batch',
                           boundaryDatesMode:'inactive',
                           popup: true,
                           enableManualInput: false,
                           showInput: true,
                           disabled: false,
                           ajaxSingle: true,
                           verticalOffset:0,
                           horizontalOffset: 0,
                           style:'z-index: 3; width:200px',
                           firstWeekDay: 0,
                           minDaysInFirstWeek: 1,
                           todayControlMode:'select',
                           showHeader:true,
                           showFooter:true,
                           showWeeksBar:true,
                           showWeekDaysBar:true,
                           showApplyButton:true,
                           resetTimeOnDateSelect:false,
                           defaultTime:{hours:12,minutes:0},
            labels:{apply:'Apply', today:'Today', clean:'Clean', cancel:'Cancel', ok:'OK', close:'x'},
            dayCellClass: 'j_id2_j_id4DayCell',
            'monthLabels': ['January','February','March','April','May','June','July','August','September','October','November','December'] ,
            'monthLabelsShort': ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'] ,
            'weekDayLabels': ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'] ,
            'weekDayLabelsShort': ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'] }).load();
            //--></script></div><input type="hidden" name="j_id2_SUBMIT" value="1" /><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="binary stuff removed"</form>

            </body>
            </html>

            • 3. Re: Resource Not Found Exception - Seam and RichFaces
              Ryan Cuprak Newbie

              Hello,

              I apologize for the mess of the previous posting - used the wrong tags and didn't scroll all the way through the preview.



              Thanks,

              -Ryan


              <web-app>
              
                  <display-name>Facelets</display-name>
                  <description>Facelets StarterKit</description>
              
                  <context-param>
                      <param-name>org.richfaces.SKIN</param-name>
                      <param-value>emeraldTown</param-value>
                  </context-param>
              
                  <context-param>
                      <param-name>javax.faces.CONFIG_FILES</param-name>
                      <param-value>/WEB-INF/navigation.xml</param-value>
                  </context-param>
              
                  <context-param>
                      <param-name>facelets.REFRESH_PERIOD</param-name>
                      <param-value>2</param-value>
                  </context-param>
              
                  <context-param>
                     <param-name>org.richfaces.LoadStyleStrategy</param-name>
                     <param-value>ALL</param-value>
                  </context-param>
              
                  <context-param>
                     <param-name>org.richfaces.LoadScriptStrategy</param-name>
                     <param-value>ALL</param-value>
                  </context-param>
                  
              
                  <context-param>
                      <param-name>facelets.DEVELOPMENT</param-name>
                      <param-value>true</param-value>
                  </context-param>
                  <context-param>
                      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
                      <param-value>client</param-value>
                  </context-param>
              
                  <context-param>
                      <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
                      <param-value>.xhtml</param-value>
                  </context-param>
              
                  <context-param>
                      <param-name>com.sun.faces.validateXml</param-name>
                      <param-value>true</param-value>
                      <description>
                          Set this flag to true if you want the JavaServer Faces
                          Reference Implementation to validate the XML in your
                          faces-config.xml resources against the DTD.  Default
                          value is false.
                      </description>
                  </context-param>
              
                  <context-param>
                      <param-name>com.sun.faces.verifyObjects</param-name>
                      <param-value>true</param-value>
                      <description>
                          Set this flag to true if you want the JavaServer Faces
                          Reference Implementation to verify that all of the application
                          objects you have configured (components, converters,
                          renderers, and validators) can be successfully created.
                          Default value is false.
                      </description>
                  </context-param>
              
                  <listener>
                      <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
                  </listener>
              
              
                  <filter>
                      <display-name>Ajax4jsf Filter</display-name>
                      <filter-name>ajax4jsf</filter-name>
                      <filter-class>org.ajax4jsf.Filter</filter-class>
                  </filter>
              
                  <filter>
                      <filter-name>Seam Filter</filter-name>
                      <filter-class>org.jboss.seam.servlet.SeamFilter</filter-class>
                  </filter>
              
              
                  <!--
                  <filter>
                      <filter-name>UrlRewriteFilter</filter-name>
                      <filter-class>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</filter-class>
                  </filter>
              
              
                  <filter-mapping>
                      <filter-name>UrlRewriteFilter</filter-name>
                      <url-pattern>/*</url-pattern>
                  </filter-mapping>
                                       -->
                  <filter-mapping>
                      <filter-name>Seam Filter</filter-name>
                      <url-pattern>/*</url-pattern>
                  </filter-mapping>
              
                  <filter-mapping>
                      <filter-name>ajax4jsf</filter-name>
                      <servlet-name>Faces Servlet</servlet-name>
                      <dispatcher>REQUEST</dispatcher>
                      <dispatcher>FORWARD</dispatcher>
                      <dispatcher>INCLUDE</dispatcher>
                  </filter-mapping>
              
              
                  <!-- 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>
                      <servlet-name>Startup</servlet-name>
                      <servlet-class>org.ctjava.web.StartupServlet</servlet-class>
                      <load-on-startup>1</load-on-startup>
                  </servlet>
              
                  <servlet>
                      <servlet-name>Seam Resource Servlet</servlet-name>
                      <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>
                  </servlet>
              
                  <servlet-mapping>
                      <servlet-name>Seam Resource Servlet</servlet-name>
                      <url-pattern>/seam/resource/*</url-pattern>
                  </servlet-mapping>
              
                  <!-- Faces Servlet Mapping -->
                  <servlet-mapping>
                      <servlet-name>Faces Servlet</servlet-name>
                      <url-pattern>*.jsf</url-pattern>
                  </servlet-mapping>
              
                  <servlet-mapping>
                      <servlet-name>Faces Servlet</servlet-name>
                      <url-pattern>*.seam</url-pattern>
                  </servlet-mapping>
              
                  <welcome-file-list>
                      <welcome-file>index.jsp</welcome-file>
                  </welcome-file-list>
              
                  <security-constraint>
                      <display-name>Restrict XHTML Documents</display-name>
                      <web-resource-collection>
                          <web-resource-name>XHTML</web-resource-name>
                          <url-pattern>*.xhtml</url-pattern>
                      </web-resource-collection>
                      <auth-constraint>
                          <description>Only Let 'developer's access XHTML pages</description>
                          <role-name>developer</role-name>
                      </auth-constraint>
                  </security-constraint>
              
                  <resource-ref>
                      <res-ref-name>mail/Session</res-ref-name>
                      <res-type>javax.mail.Session</res-type>
                      <res-auth>CONTAINER</res-auth>
                  </resource-ref>
              
              </web-app>
              
              



              <?xml version="1.0" encoding="iso-8859-1"?>
              <!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">
              <head><link class='component' rel='stylesheet' type='text/css' href='/java/a4j/s/3_2_2.SR1org/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAGbo7-tNnT5DGkAEXoDrg__.seam' /><link class='component' rel='stylesheet' type='text/css' href='/java/a4j/s/3_2_2.SR1org/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAGbo7-tNnT5DGkAEXoDrg__.seam' media='rich-extended-skinning' /><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org.ajax4jsf.javascript.PrototypeScript.seam'></script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org.ajax4jsf.javascript.AjaxScript.seam'></script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org/richfaces/renderkit/html/scripts/events.js.seam'></script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org/richfaces/renderkit/html/scripts/utils.js.seam'></script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org/richfaces/renderkit/html/scripts/json/json-dom.js.seam'></script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org/richfaces/renderkit/html/scripts/scriptaculous/effects.js.seam'></script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org/richfaces/renderkit/html/scripts/jquery/jquery.js.seam'></script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org/richfaces/renderkit/html/scripts/JQuerySpinBtn.js.seam'></script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org/richfaces/renderkit/html/scripts/calendar.js.seam'></script><link class='component' rel='stylesheet' type='text/css' href='/java/a4j/s/3_2_2.SR1org/richfaces/renderkit/html/css/calendar.xcss/DATB/eAGbo7-tNnT5DGkAEXoDrg__.seam' /><script type='text/javascript'>window.RICH_FACES_EXTENDED_SKINNING_ON=true;</script><script type='text/javascript' src='/java/a4j/g/3_2_2.SR1org/richfaces/renderkit/html/scripts/skinning.js.seam'></script></head><body><form id="j_id2" name="j_id2" method="post" action="/java/test.jsf" enctype="application/x-www-form-urlencoded">
                      Pick a date:<span id="j_id2:j_id4Popup"><input class="rich-calendar-input " id="j_id2:j_id4InputDate" name="j_id2:j_id4InputDate" style="vertical-align: middle; " type="text" readonly="readonly" /><img class="rich-calendar-button " id="j_id2:j_id4PopupButton" style="vertical-align: middle" src="/java/a4j/g/3_2_2.SR1org.richfaces.renderkit.html.iconimages.CalendarIcon/DATB/eAFjCGDgnPIfAAPYAe0_.seam" /><input id="j_id2:j_id4InputCurrentDate" name="j_id2:j_id4InputCurrentDate" style="display:none" type="hidden" value="12/2008" /><style type="text/css"><!--
              .j_id2_j_id4DayCell{width:24px;height:22px;}
              --></style></span><div id="j_id2:j_id4IFrame" style="display: none;"></div><div id="j_id2:j_id4" style="display: none;"></div><div id="j_id2:j_id4Script" style="display: none;"><script type="text/javascript"><!--
              new Calendar('j_id2:j_id4', {dayListTableId: 'j_id2:j_id4Day', 
                             weekNumberBarId: 'j_id2:j_id4WeekNum', 
                             weekDayBarId: 'j_id2:j_id4WeekDay',
                             currentDate: new Date(2008,11,22), 
                             selectedDate: null, 
                             datePattern: 'd/M/yy HH:mm',
                             jointPoint: 'bottom-left',
                             direction: 'bottom-right',
                             toolTipMode:'batch',
                             boundaryDatesMode:'inactive',
                             popup: true,
                             enableManualInput: false,
                             showInput: true,
                             disabled: false,
                             ajaxSingle: true,
                             verticalOffset:0,
                             horizontalOffset: 0,
                             style:'z-index: 3; width:200px',
                             firstWeekDay: 0, 
                             minDaysInFirstWeek: 1,
                             todayControlMode:'select',
                             showHeader:true,
                             showFooter:true,
                             showWeeksBar:true,
                             showWeekDaysBar:true,
                             showApplyButton:true,
                             resetTimeOnDateSelect:false,
                             defaultTime:{hours:12,minutes:0},
               labels:{apply:'Apply', today:'Today', clean:'Clean', cancel:'Cancel', ok:'OK', close:'x'},
               dayCellClass: 'j_id2_j_id4DayCell', 
              'monthLabels': ['January','February','March','April','May','June','July','August','September','October','November','December'] , 
              'monthLabelsShort': ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec'] , 
              'weekDayLabels': ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'] , 
              'weekDayLabelsShort': ['Sun','Mon','Tue','Wed','Thu','Fri','Sat'] }).load();
              //--></script></div><input type="hidden" name="j_id2_SUBMIT" value="1" /><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value=" /></form>
              
              </body>
              </html>




              • 4. Re: Resource Not Found Exception - Seam and RichFaces
                Ryan Cuprak Newbie

                Not sure what I did, but I am no longer seeing the problem. I spent some time but was unable to reproduce the problem.


                -Ryan