1 2 Previous Next 18 Replies Latest reply on Feb 28, 2011 4:56 AM by christian.yttesen Go to original post
      • 15. Re: 3.3.3.CR1 and JSF 2 , NullPointerException
        elf

        Nick,

        Return type of action method is void, so it returns nothing.

        This code works fine using RF 3.3.3 and JSF 1.2, but do not for RF 3.3.3 and JSF 2.0.

        Could you please check it on your environment ?

        May be it is needed to fill manually some property or does using code "javascript:Richfaces.showModalPanel ... " appropriate for jsf 2.0 ?

        • 16. Re: 3.3.3.CR1 and JSF 2 , NullPointerException
          ilya_shaikovsky
          Serhiy, could you please just share war with java sources to just run and investigate locally?
          • 17. Re: 3.3.3.CR1 and JSF 2 , NullPointerException
            elf

            Nick,

            You are right. It is implicit navigation.

            I was a little bit inattentive.

            Now my app works fine using RF 3.3.3 and JSF 2.0.

            Thank you.

            • 18. Re: 3.3.3.CR1 and JSF 2 , NullPointerException
              christian.yttesen

              Hi,

               

              I'm in the phase of migrating an application from RichFaces 3.3.2 to 3.3.3 (JSF2) and seems to be facing the same issue as you did.

               

              I have some <h:commandButtons /> and <h:commandLinks /> implemented as actions (they are using <f:setPropertyActionListener />, so using actionListeners is not an option) - all returns "null" as they shall render the same page.

               

              After upgrading to RichFaces 3.3.3 using JSF2 capabilities the actions that returns "null" fails with:

               

              404 /s/.jsf

               

              "s" being my webapp context.

               

              No apparent errors are logged - using log-level 'debug' I get:

              2011-02-28 08:04:55,817    DEBUG 'Process after phase INVOKE_APPLICATION 5'

              2011-02-28 08:04:55,817    DEBUG 'Process before phase RENDER_RESPONSE 6'

              2011-02-28 08:04:55,817    DEBUG 'PhaseListener enter Before RenderView Phase with ViewId /.jsp and RenderKitId HTML_BASIC'

              2011-02-28 08:04:55,817    DEBUG 'Process after phase RENDER_RESPONSE 6'

              2011-02-28 08:04:55,818    DEBUG 'create HTML/XML parser for content type: null'

              2011-02-28 08:04:55,818    DEBUG 'Finished request processing total time 27ms for uri: /s/main.jsf'

               

              Resulting in the 404.

               

              I have tried writing the name of the file - however as this contains a <rich:tabPanel /> this results in the first tab being selected. I could implement logic to select the correct tab - but I would prefer not doing that.

               

              Also tried to change the method signature from returning a String to void - same result.

               

              Any help is appreciated.

               

              Regards

              Christian

              1 2 Previous Next