5 Replies Latest reply on Aug 19, 2008 11:36 AM by Chris Simons

    Anyone used Prototip 2 with RichFaces?

    Chris Simons Expert

      Prototip 2 is a very slick tooltip library based on Prototype 1.6.2.

      I know RichFaces uses Prototype but I'm wondering if the versions will be compatible. Has anyone tried Prototip 2 with RichFaces and can provide any comments?

      Thanks.

      See: http://www.nickstakenburg.com/projects/prototip2/

        • 1. Re: Anyone used Prototip 2 with RichFaces?
          Chris Simons Expert

          Just an update...

          Prototip 2 requires the prototype.js version 1.6.02. RichFaces 3.2 comes bundled with prototype.js version 1.6.0. Is there any way to "re-package" RichFaces" with the upgraded prototype.js and add in the RichFaces custom code? Or perhaps there is a way to replace the version used by RichFaces?

          • 2. Re: Anyone used Prototip 2 with RichFaces?
            . . Newbie

            chris.simons,

            I tried to use prototype api imported by RichFaces, but without success.

            I've been using prototype-1.6.0.2.js with RichFaces 3.2.1.GA for days and everything seems to be working well.

            I simply import prototype into my jsp page:

            <script src="<base href>/js/prototype-1.6.0.2.js " />


            Maybe there is other way more interesting using a RichFaces tag or configuration ....

            []'s
            "chris.simons" wrote:
            Just an update...

            Prototip 2 requires the prototype.js version 1.6.02. RichFaces 3.2 comes bundled with prototype.js version 1.6.0. Is there any way to "re-package" RichFaces" with the upgraded prototype.js and add in the RichFaces custom code? Or perhaps there is a way to replace the version used by RichFaces?


            • 3. Re: Anyone used Prototip 2 with RichFaces?
              Chris Simons Expert

              rhancke,

              So you were able to import prototype-1.6.02 without conflicting with RichFaces' version of Prototype? Have you tried using any particular RichFaces components? I ask because I the Prototype.js that comes bundled with RichFaces has some custom code, so I'm wondering if by including prototype-1.6.02 you would conflicting with the RichFaces version of prototype.

              But that's great you got Prototip 2 to work - I might have to give it another shot.

              Thanks!

              • 4. Re: Anyone used Prototip 2 with RichFaces?
                . . Newbie

                chris.simons,

                Until that, no conflicts have happened.
                I'm using many of RichFaces components, like listShuttle, dataTable, menu, modalPanel, ... beyond some of a4j tags.

                Again, I don't know if this is the more interesting way to use the most recent version of prototype.

                "chris.simons" wrote:
                rhancke,

                So you were able to import prototype-1.6.02 without conflicting with RichFaces' version of Prototype? Have you tried using any particular RichFaces components? I ask because I the Prototype.js that comes bundled with RichFaces has some custom code, so I'm wondering if by including prototype-1.6.02 you would conflicting with the RichFaces version of prototype.

                But that's great you got Prototip 2 to work - I might have to give it another shot.

                Thanks!


                • 5. Re: Anyone used Prototip 2 with RichFaces?
                  Chris Simons Expert

                  Great, thanks for the very useful information.