4 Replies Latest reply on Jan 31, 2006 8:28 PM by sandeeppujar

    URL Re-writting

    alexeyg

      I am wondering if there is any documentation on URL rewritting for JBoss Portal. It was supposedly added in version 2.2 (JBPORTAL-390) but I cannot find any information.

      Thank you!

        • 1. Re: URL Re-writting

          Yes this is not documented (yet).

          Basically we provide a set of CommandMapper implementations the we wire together in jboss-service.xml.

          PortalObjectCommandMapper takes care of mapping urls like /a/b/c to RenderPageCommands for instance.

          In JBoss Portal 2.4, the interface changes slightly as we have splitted the CommandMapper interface into 2 interfaces :

          - CommandFactory
          - URLFactory

          which gives more power and flexibility.

          All of this is in the core module in the source tree.

          • 2. Re: URL Re-writting
            alexeyg

            Thank you! One quick question - you wrote "JBoss Portal 4" - what does that mean? I thought the latest version was 2.2.1...

            • 3. Re: URL Re-writting

              read 2.4 ;-)

              • 4. Re: URL Re-writting
                sandeeppujar

                Hello,

                Could you please update the docs on how we can use this cool feature.

                Thanks,
                Sandeep