2 Replies Latest reply on Feb 12, 2008 5:04 AM by Rafael Sanchez Martinez

    rich:panelMenuGroup error related to PanelMenuGroupGradient.

    Rafael Sanchez Martinez Newbie

      I am trying to use rich:panelMenu (Html source is below).

      The JBoss server drops the following error:

      Resource not registered : org.richfaces.renderkit.html.gradientimages.PanelMenuGroupGradient

      I cannot update to 3.1.4 GA because I am embedding s:link tags, and such functionality is lost in such version.

      The incumbed class is included in the distribution jars. Could there be an entry I can do in any of the resource files into the distribution jars to have the library to produce such registration?


      Anticipated thanks.

      Rafael



      ----------------------------------------------------------------------
      html source:

      <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
      xmlns:s="http://jboss.com/products/seam/taglib"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j"
      template="layout/template.xhtml">

      <ui:define name="body">
      <h:messages globalOnly="true" styleClass="message"/>
      <rich:panel>
      <f:facet name="header">Welcome to the MDP Console</f:facet>

      <rich:panelMenu >
      <rich:panelMenuGroup label="Problems Checklist" >
      <rich:menuItem submitMode="none">
      <s:link view="/tmaDeptCandidateList.xhtml" value="Fix Problems with Departments" propagation="none"/>
      </rich:menuItem>
      <rich:menuItem submitMode="none">
      <s:link view="/tmaDeptCandidateList.xhtml" value="Fix Problems with Departments" propagation="none"/>
      </rich:menuItem>
      </rich:panelMenuGroup>
      </rich:panelMenu>

      </rich:panel>

      </ui:define>
      </ui:composition>

      ------------------------------------------------------------------
      error in server

      09:59:21,004 ERROR [[default]] Servlet.service() for servlet default threw exception
      org.ajax4jsf.resource.ResourceNotFoundException: Resource not registered : org.richfaces.renderkit.html.gradientimages.PanelMenuGroupGradient
      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.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
      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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      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:230)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Thread.java:619)