11 Replies Latest reply on May 23, 2007 6:30 AM by Ilya Shaikovsky

    inputNumberSlider and inputNumberSpinner not correctly rende

    Mathias List Newbie

      Hi
      iam using inputNumberSlider and inputNumberSpinner from richfaces.

      But the components are not correctly render in Firefox 2.0. I see only numbers and text field. What are the reasons?

      IE 6.0:
      render inputNumberSpinner in large size as normal, inputNumberSlider is ok.

      How can change the value of components with css.
      Please show me an example. (for example background-color and size for both text fields)

      best regards
      mathias °ö°[/img]

        • 1. Re: inputNumberSlider and inputNumberSpinner not correctly r
          Sergey Smirnov Master

          we need more info about your problem.

          • 2. Re: inputNumberSlider and inputNumberSpinner not correctly r
            Mathias List Newbie

            iam using components from richfaces 3.0

            <rich:inputNumberSpinner id="inNSpinner" minValue="1" maxValue="4"
            step="1"></rich:inputNumberSpinner>

            and
            <rich:inputNumberSlider id="inNSlider" minValue="0" maxValue="100"
            step="5" maxlength="100" width="200px"></rich:inputNumberSlider>


            both are not shown correctly (in Firefox 2.0 and now also IE 6.0)

            after render i see only numbers and the text field.

            best regards
            mathias °ö°

            • 3. Re: inputNumberSlider and inputNumberSpinner not correctly r
              Ilya Shaikovsky Master

              could you please check this under the latest RC?

              • 5. Re: inputNumberSlider and inputNumberSpinner not correctly r
                Mathias List Newbie

                Have i adjusted my webapp not correctly?

                here my installation:

                web.xml:

                <context-param>
                <param-name>org.ajax4jsf.SKIN</param-name>
                <param-value>blueSky</param-value>
                </context-param>


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



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

                WEB-INF/lib
                ajax4jsf-1.1.0.jar
                oscache-2.3.2.jar
                richfaces-3.0.0.jar

                which lib are also needed?

                There is a dowload for demo.war of richfaces?

                best regards
                mathias °ö°

                • 6. Re: inputNumberSlider and inputNumberSpinner not correctly r
                  Ilya Shaikovsky Master

                  Your setting seems correct. I advice you look to the project wiki where all usefull links (snapshots, demo etc.. ) located

                  • 7. Re: inputNumberSlider and inputNumberSpinner not correctly r
                    Mathias List Newbie

                    ok i found the reason. it was the web-browser cache
                    - clean the web-browser cache

                    but i have always the follow problem:


                    best regards
                    mathias °ö°

                    • 8. Re: inputNumberSlider and inputNumberSpinner not correctly r
                      Mathias List Newbie

                       

                      "mathias °ö°" wrote:
                      ok i found the reason. it was the web-browser cache
                      - clean the web-browser cache

                      but i have always the follow problem:
                      <img src="http://m-list.de/bilder/Grafik1.png" width="800" high="346">

                      best regards
                      mathias °ö°


                      • 9. Re: inputNumberSlider and inputNumberSpinner not correctly r
                        Ilya Shaikovsky Master

                        Check please with DOM inspector if some unnecessary styles applied..

                        • 10. Re: inputNumberSlider and inputNumberSpinner not correctly r
                          Mathias List Newbie

                          hi ilya
                          after changing my web-form i get sometimes this log:

                          org.ajax4jsf.framework.resource.ResourceNotFoundException: Resource not registered : org.richfaces.renderkit.html.images.background.SpinnerFieldGradient
                          at org.ajax4jsf.framework.resource.ResourceBuilderImpl.getResource(ResourceBuilderImpl.java:376)
                          at org.ajax4jsf.framework.resource.ResourceBuilderImpl.getResourceForKey(ResourceBuilderImpl.java:333)
                          at org.ajax4jsf.framework.resource.InternetResourceService.serviceResource(InternetResourceService.java:128)
                          at org.ajax4jsf.framework.resource.InternetResourceService.serviceResource(InternetResourceService.java:118)
                          at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:207)
                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                          at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                          at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                          at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                          at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
                          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
                          at java.lang.Thread.run(Unknown Source)
                          - Servlet.service() for servlet Faces Servlet threw exception
                          org.ajax4jsf.framework.resource.ResourceNotFoundException: Resource not registered : org.richfaces.renderkit.html.images.background.SpinnerButtonGradient
                          at org.ajax4jsf.framework.resource.ResourceBuilderImpl.getResource(ResourceBuilderImpl.java:376)
                          at org.ajax4jsf.framework.resource.ResourceBuilderImpl.getResourceForKey(ResourceBuilderImpl.java:333)
                          at org.ajax4jsf.framework.resource.InternetResourceService.serviceResource(InternetResourceService.java:128)
                          at org.ajax4jsf.framework.resource.InternetResourceService.serviceResource(InternetResourceService.java:118)
                          at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:207)
                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                          at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                          at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                          at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                          at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
                          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
                          at java.lang.Thread.run(Unknown Source)
                          - Servlet.service() for servlet Faces Servlet threw exception
                          org.ajax4jsf.framework.resource.ResourceNotFoundException: Resource not registered : org.richfaces.renderkit.html.images.SliderFieldGradient
                          at org.ajax4jsf.framework.resource.ResourceBuilderImpl.getResource(ResourceBuilderImpl.java:376)
                          at org.ajax4jsf.framework.resource.ResourceBuilderImpl.getResourceForKey(ResourceBuilderImpl.java:333)
                          at org.ajax4jsf.framework.resource.InternetResourceService.serviceResource(InternetResourceService.java:128)
                          at org.ajax4jsf.framework.resource.InternetResourceService.serviceResource(InternetResourceService.java:118)
                          at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:207)
                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                          at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
                          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                          at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                          at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                          at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
                          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
                          at java.lang.Thread.run(Unknown Source)

                          regards
                          mathias °ö°

                          • 11. Re: inputNumberSlider and inputNumberSpinner not correctly r
                            Ilya Shaikovsky Master

                            cache clearance (CTRL + F5) should help you