7 Replies Latest reply on Aug 14, 2007 9:01 PM by Victor Velásquez

    Modify rich:datascroller UI

    Victor Velásquez Newbie

      I need to modify the rich:datascroller UI to show like the following image:




      I Try to use the facet first, last, next and previous but this not work.

      I use the version of rich faces 3.0.0


      Regards.

        • 1. Re: Modify rich:datascroller UI
          Igor Shabalov Apprentice

          What was the problem? It suppose to work.

          Version 3.0.1 will be at least better.

          • 2. Re: Modify rich:datascroller UI
            Victor Velásquez Newbie

            3.0.1 Work wjith java 1.4?

            • 3. Re: Modify rich:datascroller UI
              Igor Shabalov Apprentice

              You can try :-)

              Honestly the last thing that we want to do is infinitely stick to old JDK. However, we can vote, if people need, we will do our best to support 1.4.

              Can you provide what was broken?

              • 4. Re: Modify rich:datascroller UI
                Victor Velásquez Newbie

                is not compatible beacuse you use methods tha only appears in the java 1.5, the following exceptio appear:

                HTTP Status 500 -
                
                type Exception report
                
                message
                
                description The server encountered an internal error () that prevented it from fulfilling this request.
                
                exception
                
                javax.servlet.ServletException: java.lang.String.replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
                 javax.faces.webapp.FacesServlet.service(FacesServlet.java:154)
                 org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
                 org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
                 org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670)
                 org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637)
                 org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
                 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
                 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
                 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
                 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
                 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                 org.ajaxanywhere.AAFilter.doFilter(AAFilter.java:46)
                 org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
                
                root cause
                
                java.lang.NoSuchMethodError: java.lang.String.replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
                 org.ajax4jsf.renderkit.html.AjaxFormRenderer.renderClearHiddenCommandFormParamsFunction(AjaxFormRenderer.java:307)
                 org.ajax4jsf.renderkit.html.AjaxFormRenderer.doEncodeEnd(AjaxFormRenderer.java:195)
                 org.ajax4jsf.framework.renderer.RendererBase.encodeEnd(RendererBase.java:135)
                 javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:539)
                 com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
                 com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
                 com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:580)
                 org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
                 org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:233)
                 org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
                 org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
                 javax.faces.webapp.FacesServlet.service(FacesServlet.java:140)
                 org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
                 org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
                 org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670)
                 org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637)
                 org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
                 org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
                 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
                 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
                 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
                 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
                 org.ajaxanywhere.AAFilter.doFilter(AAFilter.java:46)
                 org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
                


                • 5. Re: Modify rich:datascroller UI
                  Victor Velásquez Newbie

                  Any solution for this?