11 Replies Latest reply on Nov 15, 2010 11:10 AM by trailo77

    RichFaces 4 M3, where to report (possible) bugs ?

    trailo77 Newbie

      Hi there,

      I am facing an issue with the M3 builds rich:dataTable control which could possibly be a bug. Where can I report this issue ?

       

      It appears to me that rich:dataTable is ignoring the attributes columnClasses and headerClass. My code works fine with h:dataTable, but not with rich:datable.

       

      The attribute headerClass gets ignored no matter where I put it (rich:dataTable, h:coloum or even both as in the example below)

       

       

      web.xml parameters :

      <context-param>
              <param-name>org.richfaces.enableControlSkinning</param-name>
              <param-value>false</param-value>
          </context-param>
          <context-param>
              <param-name>org.richfaces.enableControlSkinningClasses</param-name>
              <param-value>true</param-value>
          </context-param>
          <context-param>
              <param-name>org.richfaces.skin</param-name>
              <param-value>plain</param-value>
          </context-param>

       

       

      the xhtml-code (excerpt):

      <rich:dataTable  value="#{myBean.myListOfObjects}"  var="current"
              styleClass="suchergebnistabelle" columnClasses="esp,msp,msp,msp,msp,msp,lsp" headerClass="msph" >
                  <h:column headerClass="msph">
                      <h:commandButton styleClass="imagebutton"
                          image="/resources/images/bearbeiten.gif">
                      </h:commandButton>
                  </h:column>

       

                  <h:column headerClass="msph">
                      <f:facet name="header">
                          <h:outputText value="#{msg['Feldbeschreibungen.Feldname']}" />
                      </f:facet>
                      <h:outputText value="#{current.feldname}" />
                  </h:column>

      ...

       

      The styles are defined like this:

      .msph {
          padding-left: 9px;
          padding-right: 9px;
          border-right: 1px solid white;
      }

       

       

      As Firebug shows neither columnClasses nor headerClass(s) appear in the generated table.

      I would expect the styleClass to be listed after rf-dt-shr-c, just like  it does with the table element (rf-dt suchergebnistabelle)


      Untitled.jpg

       


       

      Best regards

      Karl

        • 1. Re: RichFaces 4 M3, where to report (possible) bugs ?
          Pavol Pitonak Master

          Hi Karl,

           

          we use Jira ( https://jira.jboss.org/browse/RF) for reporting bugs. I'll verify tomorrow morning.

           

          Palo

          • 2. Re: RichFaces 4 M3, where to report (possible) bugs ?
            trailo77 Newbie

            Hi Palo,

             

            thank you for your quick reply. There seems to be another issue with the  "plain" skin. It does not influence the functionality of the components, but produces a lot of Stacktraces in the server log. Apparently some components are loolking for a background image which the plain skin does not provide .

             

            Greetings

            Karl

             

            09.11.2010 09:31:04 org.richfaces.resource.ResourceFactoryImpl logResourceProblem
            WARNUNG: Error creating resource org.richfaces.renderkit.html.images.ButtonBackgroundImage
            javax.faces.FacesException
                    at org.richfaces.application.DependencyInjectionServiceImpl.inject(DependencyInjectionServiceImpl.java:371)
                    at org.richfaces.resource.ResourceFactoryImpl.injectProperties(ResourceFactoryImpl.java:204)
                    at org.richfaces.resource.ResourceFactoryImpl.createHandlerDependentResource(ResourceFactoryImpl.java:282)
                    at org.richfaces.resource.ResourceFactoryImpl.createDynamicResource(ResourceFactoryImpl.java:389)
                    at org.richfaces.resource.ResourceFactoryImpl.createResource(ResourceFactoryImpl.java:359)
                    at org.richfaces.resource.ResourceHandlerImpl.createResource(ResourceHandlerImpl.java:270)
                    at org.richfaces.resource.ResourceHandlerImpl.createResource(ResourceHandlerImpl.java:285)
                    at com.sun.faces.el.ResourceELResolver.getValue(ResourceELResolver.java:105)
                    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:55)
                    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71)
                    at org.apache.el.parser.AstValue.getValue(AstValue.java:169)
                    at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
                    at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.evaluateExpressionIntoBuffer(ResourceHelper.java:763)
                    at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.readExpressionIntoBufferAndEvaluateIntoBuffer(Resource
            elper.java:696)
                    at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.read(ResourceHelper.java:664)
                    at java.io.InputStream.read(InputStream.java:163)
                    at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
                    at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
                    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
                    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
                    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
                    at java.io.InputStreamReader.read(InputStreamReader.java:167)
                    at com.steadystate.css.parser.ASCII_CharStream.FillBuff(ASCII_CharStream.java:107)
                    at com.steadystate.css.parser.ASCII_CharStream.readChar(ASCII_CharStream.java:183)
                    at com.steadystate.css.parser.ASCII_CharStream.BeginToken(ASCII_CharStream.java:128)
                    at com.steadystate.css.parser.SACParserCSS2TokenManager.getNextToken(SACParserCSS2TokenManager.java:3429)
                    at com.steadystate.css.parser.SACParserCSS2.jj_ntk(SACParserCSS2.java:2486)
                    at com.steadystate.css.parser.SACParserCSS2.styleSheetRuleList(SACParserCSS2.java:56)
                    at com.steadystate.css.parser.SACParserCSS2.styleSheet(SACParserCSS2.java:48)
                    at com.steadystate.css.parser.AbstractSACParser.parseStyleSheet(AbstractSACParser.java:318)
                    at com.steadystate.css.parser.CSSOMParser.parseStyleSheet(CSSOMParser.java:138)
                    at org.richfaces.resource.CompiledCSSResource.getInputStream(CompiledCSSResource.java:108)
                    at org.richfaces.resource.CachedResourceImpl.initialize(CachedResourceImpl.java:178)
                    at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:172)
                    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:306)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:203)
                    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
                    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108)
                    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:558)
                    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
                    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:379)
                    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:242)
                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:259)
                    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:281)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                    at java.lang.Thread.run(Thread.java:619)
            Caused by: java.lang.reflect.InvocationTargetException
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:597)
                    at org.richfaces.application.DependencyInjectionServiceImpl.invokeMethod(DependencyInjectionServiceImpl.java:195)
                    at org.richfaces.application.DependencyInjectionServiceImpl.inject(DependencyInjectionServiceImpl.java:364)
                    ... 49 more
            Caused by: java.lang.NullPointerException
                    at org.richfaces.renderkit.html.images.BaseControlBackgroundImage.initializeProperties(BaseControlBackgroundImage.java:48)
                    at org.richfaces.renderkit.html.images.ButtonBackgroundImage.initializeProperties(ButtonBackgroundImage.java:39)
                    at org.richfaces.renderkit.html.BaseGradient.initialize(BaseGradient.java:140)
                    ... 55 more
            09.11.2010 09:31:04 org.richfaces.resource.CompiledCSSResource getInputStream
            SCHWERWIEGEND: null
            java.lang.NullPointerException
                    at org.richfaces.renderkit.html.BaseGradient.writeState(BaseGradient.java:299)
                    at org.richfaces.util.Util.saveResourceState(Util.java:568)
                    at org.richfaces.resource.BaseResourceWrapper.saveState(BaseResourceWrapper.java:124)
                    at org.richfaces.util.Util.saveResourceState(Util.java:586)
                    at org.richfaces.resource.AbstractBaseResource.getRequestPath(AbstractBaseResource.java:160)
                    at com.sun.faces.el.ResourceELResolver.getValue(ResourceELResolver.java:133)
                    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:55)
                    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71)
                    at org.apache.el.parser.AstValue.getValue(AstValue.java:169)
                    at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
                    at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.evaluateExpressionIntoBuffer(ResourceHelper.java:763)
                    at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.readExpressionIntoBufferAndEvaluateIntoBuffer(Resource
            elper.java:696)
                    at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.read(ResourceHelper.java:664)
                    at java.io.InputStream.read(InputStream.java:163)
                    at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
                    at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
                    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
                    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
                    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
                    at java.io.InputStreamReader.read(InputStreamReader.java:167)
                    at com.steadystate.css.parser.ASCII_CharStream.FillBuff(ASCII_CharStream.java:107)
                    at com.steadystate.css.parser.ASCII_CharStream.readChar(ASCII_CharStream.java:183)
                    at com.steadystate.css.parser.ASCII_CharStream.BeginToken(ASCII_CharStream.java:128)
                    at com.steadystate.css.parser.SACParserCSS2TokenManager.getNextToken(SACParserCSS2TokenManager.java:3429)
                    at com.steadystate.css.parser.SACParserCSS2.jj_ntk(SACParserCSS2.java:2486)
                    at com.steadystate.css.parser.SACParserCSS2.styleSheetRuleList(SACParserCSS2.java:56)
                    at com.steadystate.css.parser.SACParserCSS2.styleSheet(SACParserCSS2.java:48)
                    at com.steadystate.css.parser.AbstractSACParser.parseStyleSheet(AbstractSACParser.java:318)
                    at com.steadystate.css.parser.CSSOMParser.parseStyleSheet(CSSOMParser.java:138)
                    at org.richfaces.resource.CompiledCSSResource.getInputStream(CompiledCSSResource.java:108)
                    at org.richfaces.resource.CachedResourceImpl.initialize(CachedResourceImpl.java:178)
                    at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:172)
                    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:306)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:203)
                    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
                    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108)
                    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:558)
                    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
                    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:379)
                    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:242)
                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:259)
                    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:281)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                    at java.lang.Thread.run(Thread.java:619)
            09.11.2010 09:31:04 org.richfaces.resource.CompiledCSSResource getInputStream
            INFO: Parsed stylesheet for 'null':'skinning_classes.ecss' resource is null.
            09.11.2010 09:31:04 org.richfaces.resource.CompiledCSSResource getInputStream
            SCHWERWIEGEND: null
            java.lang.NullPointerException
                    at org.richfaces.renderkit.html.BaseGradient.writeState(BaseGradient.java:299)
                    at org.richfaces.util.Util.saveResourceState(Util.java:568)
                    at org.richfaces.resource.BaseResourceWrapper.saveState(BaseResourceWrapper.java:124)
                    at org.richfaces.util.Util.saveResourceState(Util.java:586)
                    at org.richfaces.resource.AbstractBaseResource.getRequestPath(AbstractBaseResource.java:160)
                    at com.sun.faces.el.ResourceELResolver.getValue(ResourceELResolver.java:133)
                    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:55)
                    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71)
                    at org.apache.el.parser.AstValue.getValue(AstValue.java:169)
                    at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
                    at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.evaluateExpressionIntoBuffer(ResourceHelper.java:763)
                    at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.readExpressionIntoBufferAndEvaluateIntoBuffer(Resource
            elper.java:696)
                    at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.read(ResourceHelper.java:664)
                    at java.io.InputStream.read(InputStream.java:163)
                    at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
                    at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
                    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
                    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
                    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
                    at java.io.InputStreamReader.read(InputStreamReader.java:167)
                    at com.steadystate.css.parser.ASCII_CharStream.FillBuff(ASCII_CharStream.java:107)
                    at com.steadystate.css.parser.ASCII_CharStream.readChar(ASCII_CharStream.java:183)
                    at com.steadystate.css.parser.ASCII_CharStream.BeginToken(ASCII_CharStream.java:128)
                    at com.steadystate.css.parser.SACParserCSS2TokenManager.getNextToken(SACParserCSS2TokenManager.java:3429)
                    at com.steadystate.css.parser.SACParserCSS2.jj_ntk(SACParserCSS2.java:2486)
                    at com.steadystate.css.parser.SACParserCSS2.styleSheetRuleList(SACParserCSS2.java:56)
                    at com.steadystate.css.parser.SACParserCSS2.styleSheet(SACParserCSS2.java:48)
                    at com.steadystate.css.parser.AbstractSACParser.parseStyleSheet(AbstractSACParser.java:318)
                    at com.steadystate.css.parser.CSSOMParser.parseStyleSheet(CSSOMParser.java:138)
                    at org.richfaces.resource.CompiledCSSResource.getInputStream(CompiledCSSResource.java:108)
                    at org.richfaces.resource.CachedResourceImpl.initialize(CachedResourceImpl.java:178)
                    at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:172)
                    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:306)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:203)
                    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
                    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108)
                    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:558)
                    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
                    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:379)
                    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:242)
                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:259)
                    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:281)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                    at java.lang.Thread.run(Thread.java:619)
            09.11.2010 09:31:04 org.richfaces.resource.CompiledCSSResource getInputStream
            INFO: Parsed stylesheet for 'org.richfaces':'datatable.ecss' resource is null.
            09.11.2010 09:31:04 org.richfaces.resource.CompiledCSSResource getInputStream
            SCHWERWIEGEND: null
            java.lang.NullPointerException
                    at org.richfaces.renderkit.html.BaseGradient.writeState(BaseGradient.java:299)
                    at org.richfaces.util.Util.saveResourceState(Util.java:568)
                    at org.richfaces.resource.BaseResourceWrapper.saveState(BaseResourceWrapper.java:124)
                    at org.richfaces.util.Util.saveResourceState(Util.java:586)
                    at org.richfaces.resource.AbstractBaseResource.getRequestPath(AbstractBaseResource.java:160)
                    at com.sun.faces.el.ResourceELResolver.getValue(ResourceELResolver.java:133)
                    at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:55)
                    at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:71)
                    at org.apache.el.parser.AstValue.getValue(AstValue.java:169)
                    at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
                    at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.evaluateExpressionIntoBuffer(ResourceHelper.java:763)
                    at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.readExpressionIntoBufferAndEvaluateIntoBuffer(Resource
            elper.java:696)
                    at com.sun.faces.application.resource.ResourceHelper$ELEvaluatingInputStream.read(ResourceHelper.java:664)
                    at java.io.InputStream.read(InputStream.java:163)
                    at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
                    at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
                    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
                    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
                    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
                    at java.io.InputStreamReader.read(InputStreamReader.java:167)
                    at com.steadystate.css.parser.ASCII_CharStream.FillBuff(ASCII_CharStream.java:107)
                    at com.steadystate.css.parser.ASCII_CharStream.readChar(ASCII_CharStream.java:183)
                    at com.steadystate.css.parser.ASCII_CharStream.BeginToken(ASCII_CharStream.java:128)
                    at com.steadystate.css.parser.SACParserCSS2TokenManager.getNextToken(SACParserCSS2TokenManager.java:3429)
                    at com.steadystate.css.parser.SACParserCSS2.jj_ntk(SACParserCSS2.java:2486)
                    at com.steadystate.css.parser.SACParserCSS2.styleSheetRuleList(SACParserCSS2.java:56)
                    at com.steadystate.css.parser.SACParserCSS2.styleSheet(SACParserCSS2.java:48)
                    at com.steadystate.css.parser.AbstractSACParser.parseStyleSheet(AbstractSACParser.java:318)
                    at com.steadystate.css.parser.CSSOMParser.parseStyleSheet(CSSOMParser.java:138)
                    at org.richfaces.resource.CompiledCSSResource.getInputStream(CompiledCSSResource.java:108)
                    at org.richfaces.resource.CachedResourceImpl.initialize(CachedResourceImpl.java:178)
                    at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:172)
                    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:306)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
                    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:203)
                    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
                    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:108)
                    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:558)
                    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
                    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:379)
                    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:242)
                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:259)
                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:237)
                    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:281)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
                    at java.lang.Thread.run(Thread.java:619)
            09.11.2010 09:31:04 org.richfaces.resource.CompiledCSSResource getInputStream
            INFO: Parsed stylesheet for 'org.richfaces':'datatable.ecss' resource is null.

            • 4. Re: RichFaces 4 M3, where to report (possible) bugs ?
              trailo77 Newbie

              Hi,


              thankx for reporting this issue.

               

              Unfortunately there seems to be another issue with the commandButtons not working in richTable. I have uploaded a small demo applocation and the complete eclipse project in my original post.

               

              It contains 2 identical tables. The only difference is that one is a  h:dataTable and the other a rich:dataTable.

              The example shows the different buttonbehaviour and also the problems with the css classesd being ignored by rich:dataTable

               

              Greetings

              Oliver Untitled.jpg

              • 5. Re: RichFaces 4 M3, where to report (possible) bugs ?
                Pavol Pitonak Master

                Hi,

                 

                attributes collumnClasses (rich:dataTable), headerClass (rich:column) and footerClass (rich:column) hadn't been implemented yet.

                 

                Could you please file a Jira for button problem? I will review it asap.

                 

                Palo

                • 6. Re: RichFaces 4 M3, where to report (possible) bugs ?
                  trailo77 Newbie

                  Hi,

                   

                  I have created a bug describing the style issue https://jira.jboss.org/browse/RF-9777

                   

                  Furthermnore I have created an issue because h:commandButton and rich:commandButton do not call the action method when placed inside a h:column.   https://jira.jboss.org/browse/RF-9778

                   

                  However the commandButtons do work when placed inside a rich:column. It should be verified if this is a real issue or whether rich:dataTable requires rich:column when using commandButtons. At least I could not find any information on that in the documentation.

                   

                  Another issue I have found is when adding a rich:dataScroller to the table and setting renderIfSinglePage to false, the dataScroller is still visible.

                  https://jira.jboss.org/browse/RF-9780

                   

                  Greetings

                  Karl

                  • 7. Re: RichFaces 4 M3, where to report (possible) bugs ?
                    Ilya Shaikovsky Master

                    Thanks for all your efforst!! It will help us to deliever better final!

                    • 8. Re: RichFaces 4 M3, where to report (possible) bugs ?
                      trailo77 Newbie

                      Nothing to thank for. I am very glad that the RichFaces Team is responding so quick and takes these issues seriously.

                      Keep up  the good work !

                       

                       

                      • 9. Re: RichFaces 4 M3, where to report (possible) bugs ?
                        trailo77 Newbie

                        Hi there,

                         

                        I found a rather nasty bug. On Unix-system RichFaces apparently tries to connect to an X-server and crashes the whole server when there is no X-server to connect to:

                         

                        INFO: Creating LRUMap cache instance using parameters: {org.richfaces.skin=plain, javax.faces.PROJECT_STAGE=Development, org.richfaces.enableControlSkinningClasses=true, org.richfaces.enableControlSkinning=false}
                        12.11.2010 09:57:26 org.richfaces.cache.lru.LRUMapCacheFactory createCache
                        INFO: Creating LRUMap cache instance of 512 items capacity
                        12.11.2010 09:57:26 org.richfaces.application.InitializationListener onStart
                        INFO: RichFaces Core Implementation by JBoss, a division of Red Hat, Inc., version v.4.0.0.20101004-M3 SVN r.19446
                        X connection to localhost:11.0 broken (explicit kill or server shutdown).

                         

                         

                        Starting an X-server solves the issue. I think this is rather critical, as X-servers are rather unwanted on production systems.

                         

                        I have opened a Jira issue:  https://jira.jboss.org/browse/RF-9813

                         

                        Best greetings

                        Karl

                        • 10. Re: RichFaces 4 M3, where to report (possible) bugs ?
                          Jay Balunas Master

                          Just to repeat Ilya, Awesome job on helping to flush out the 4.0 milestones Karl!!  It is a huge help.

                           

                          This seems like the standard headless environment issue.  Do you use something like XVFB to provide a virtual display?  Although this may be an bug on our side, it is typically a good idea to have something like this running to support font/image manipulation. 

                           

                          Thanks again for the feedback!!

                           

                          -Jay

                          • 11. Re: RichFaces 4 M3, where to report (possible) bugs ?
                            trailo77 Newbie

                            Thanks !

                             

                            I have checked the server and as far as I can tell we do not use anything like this. No X related process seems to be running at all.

                            My current workaround is to tell java that there is no graphical subsystem by setting CATALINA_OPTS="-Djava.awt.headless=true".

                             

                            I don't know if this is a real bug or a rather a configuration issue, but it is RichFaces what is trying to use somthing that requires a X11 Resource on Unixsystems.

                             

                            When I deploy my sample simply without the 4 "richfaces-co*-4.0.0.20101004-M3.jar" jars,  the X11 error does not occur and the server starts up.

                            Of course I get an errormessage when the server displays the page which still contains the rich: tags  :"Warning: This page calls for XML namespace http://richfaces.org/rich declared with prefix rich but no taglibrary exists for that namespace."

                             

                            Best greetings

                            Karl