6 Replies Latest reply on Mar 13, 2006 7:23 PM by svetzal

    starting to refactor the webapp

    tom.baeyens

      hi,

      i'm going to start refactoring the webapp.

      first tasks i'm going to do are:
      1) improved html design. previous design was way too complicated and had problems in firefox.
      2) install servlet based security instead of the stupid stuff that we have now.

      i'll keep you posted on the progress.

      regards, tom.

        • 1. Re: starting to refactor the webapp
          jimrigsbee

          Acegi security or just plain JAAS?

          Jim

          • 2. Re: starting to refactor the webapp
            tom.baeyens

            i did it with plain jaas. the most standard way.

            regards, tom.

            • 3. Re: starting to refactor the webapp
              tom.baeyens

              One extra change i'm going to make. I heard good things about facelets. But http://www.threewisemen.ca triggered me to actually take a look. As is mentioned on other places in the web, i really think that facelets fit JSF like a glove. great ! it will be used in the renewed jbpm webapp.

              regards, tom.

              • 4. Re: starting to refactor the webapp
                kukeltje

                Great, I'm also looking into facelets and like it alot.... but you know.... time....

                Regarding security, Acegi would be nice. Mule also uses it and it's kind of flexible and can use JAAS as well.

                • 5. Re: starting to refactor the webapp
                  svetzal

                  I have most of the web app converted already to facelets. I'd be happy to contribute it back. I'll post it at an URL and you can take a look.

                  Problem areas:

                  - the custom tag that brings up the workflow diagram needs to be built as a JSF component

                  - I get random exceptions on my workflows; not sure the root cause yet

                  My major caveat with Facelets is having to force id attributes all over the place or you get duplicate ID messages. Not sure where this bug lies.

                  The best thing about this is that I've factored out a template (great feature in Facelets), which makes it easy to brand the interface. Unfortunately my default is a plain white page (no jboss branding).

                  • 6. Re: starting to refactor the webapp
                    svetzal

                    Oh forgot one thing, my major remaining piece of work for the facelets conversion is switching the filter-style session techniques to an injection-style that should be more natural in Facelets (plus I'm hoping compatible with Portlets once things settle there).