2 Replies Latest reply on Feb 28, 2008 4:45 AM by Ilya Shaikovsky

    Rich Shuttle problem

    Bibin B Newbie

      Hi,
      I am using a rich shuttle(Richfaces v 3.1.3) in my project.But whenever I select one or more items from the source and move it to the target list,I am getting the following error


      org.ajax4jsf.resource.ResourceNotFoundException: Resource not registered : org.richfaces.renderkit.html.gradientimages.OrderingListClickedGradient
       at org.ajax4jsf.resource.ResourceBuilderImpl.getResource(ResourceBuilderImpl.java:393)
       at org.ajax4jsf.resource.ResourceBuilderImpl.getResourceForKey(ResourceBuilderImpl.java:337)
       at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:155)
       at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:144)
       at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:265)
       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:175)
       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:263)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
       at java.lang.Thread.run(Thread.java:595)
      
      


      I am using the following code for the rich shuttle

       <rich:listShuttle id="ext_timings" orderControlsVisible="false" fastOrderControlsVisible="false" sourceValue="#{custInfoEdit.cutoffHrs}"
       targetValue="#{custInfoEdit.newCutoffHrs}" var="cutOff" listHeight="300" listWidth="300"
       sourceCaptionLabel="Available Times"
       targetCaptionLabel="Selected Times">
       <rich:column>
       <h:outputText value="#{cutOff}"></h:outputText>
       </rich:column>
       </rich:listShuttle>
      


      I have my bean in the request,and I am initializing the source and target list within the constructor.Please help me with this problem