6 Replies Latest reply on Apr 6, 2008 3:55 PM by Nick Belaevski

    Resource not registered : org.richfaces.renderkit.html.image

    Daniel Roth Newbie

      Hi,

      I am using 3.2.0.GA and Seam and get the error message

      "Resource not registered : org.richfaces.renderkit.html.images.InputBackgroundImage"

      when a page is rendered, and no background images are rendered for inputBoxes.

      In this project I am changing skin for diffrent pages (skinBean.skin...), is that maybe the issue?

        • 1. Re: Resource not registered : org.richfaces.renderkit.html.i
          Jens Mueller Novice

          had the same problem with some calendart icon. as sort of work around i manually registered the source.
          -create resource-config.xml in the META-INF folder of your web folder. Put

          <?xml version="1.0" encoding="UTF-8"?>
          <resource-config>
          org.richfaces.renderkit.html.images.InputBackgroundImage

          </resource-config>

          in it. Hope that helped.

          • 3. Re: Resource not registered : org.richfaces.renderkit.html.i
            Nick Belaevski Master

            Hello,

            We've somehow missed resources derived from standard skinning. I've created an issue for that: http://jira.jboss.com/jira/browse/RF-2944

            • 4. Re: Resource not registered : org.richfaces.renderkit.html.i
              Jens Mueller Novice

              no worries. just realized that half of the code has been cut off. should be:

              <resource class="org.richfaces.renderkit.html.images.InputBackgroundImage">
              <name>org.richfaces.renderkit.html.images.InputBackgroundImage</name>
               </resource>




              • 5. Re: Resource not registered : org.richfaces.renderkit.html.i
                Daniel Roth Newbie

                Hehe, it only worked twice (for two skins). When I went to the third part of the site, using its own skin, i ran into the exception again. Hopefully the JIRA resolves it for n skins...

                • 6. Re: Resource not registered : org.richfaces.renderkit.html.i
                  Nick Belaevski Master

                  Hello,

                  Here is the file for missing resources:

                  <?xml version="1.0" encoding="UTF-8"?>
                  <resource-config>
                   <resource class="org.richfaces.renderkit.html.gradientimages.HeaderInverseGradientImage">
                   <name>org.richfaces.renderkit.html.gradientimages.HeaderInverseGradientImage</name>
                   </resource>
                   <resource class="org.richfaces.renderkit.html.gradientimages.TabGradientImage">
                   <name>org.richfaces.renderkit.html.gradientimages.TabGradientImage</name>
                   </resource>
                   <resource class="org.richfaces.renderkit.html.images.ButtonBackgroundImage">
                   <name>org.richfaces.renderkit.html.images.ButtonBackgroundImage</name>
                   </resource>
                   <resource class="org.richfaces.renderkit.html.images.StandardButtonPressedBgImage">
                   <name>org.richfaces.renderkit.html.images.StandardButtonPressedBgImage</name>
                   </resource>
                   <resource class="org.richfaces.renderkit.html.gradientimages.ButtonInverseGradientImage">
                   <name>org.richfaces.renderkit.html.gradientimages.ButtonInverseGradientImage</name>
                   </resource>
                   <resource class="org.richfaces.renderkit.html.gradientimages.ButtonGradientImage">
                   <name>org.richfaces.renderkit.html.gradientimages.ButtonGradientImage</name>
                   </resource>
                   <resource class="org.richfaces.renderkit.html.images.InputErrorIcon">
                   <name>org.richfaces.renderkit.html.images.InputErrorIcon</name>
                   </resource>
                   <resource class="org.richfaces.renderkit.html.images.StandardButtonBgImage">
                   <name>org.richfaces.renderkit.html.images.StandardButtonBgImage</name>
                   </resource>
                   <resource class="org.richfaces.renderkit.html.gradientimages.MenuInverseGradientImage">
                   <name>org.richfaces.renderkit.html.gradientimages.MenuInverseGradientImage</name>
                   </resource>
                   <resource class="org.richfaces.renderkit.html.gradientimages.InputGradientImage">
                   <name>org.richfaces.renderkit.html.gradientimages.InputGradientImage</name>
                   </resource>
                   <resource class="org.richfaces.renderkit.html.gradientimages.HeaderGradientImage">
                   <name>org.richfaces.renderkit.html.gradientimages.HeaderGradientImage</name>
                   </resource>
                   <resource class="org.richfaces.renderkit.html.images.InputBackgroundImage">
                   <name>org.richfaces.renderkit.html.images.InputBackgroundImage</name>
                   </resource>
                   <resource class="org.ajax4jsf.javascript.AjaxScript">
                   <name>org.ajax4jsf.javascript.AjaxScript</name>
                   </resource>
                   <resource class="org.richfaces.renderkit.html.gradientimages.MenuGradientImage">
                   <name>org.richfaces.renderkit.html.gradientimages.MenuGradientImage</name>
                   </resource>
                   <resource class="org.richfaces.renderkit.html.gradientimages.TabInverseGradientImage">
                   <name>org.richfaces.renderkit.html.gradientimages.TabInverseGradientImage</name>
                   </resource>
                  
                  </resource-config>