3 Replies Latest reply on Feb 10, 2009 2:52 AM by tom.baeyens

    facelets ?

    tom.baeyens

      i had a look at facelets for form generation (had to digg for 2 hours into our 3 source code repositories:-)

      it seems that i was wrong. i thought it would be possible to just produce a HTML stream by just using facelets as a library.

      but that doesn't seem to be how i did it. facelets is based on the UIComponent tree in JSF.

      it might still be possible to leverage facelets. we'ld have to create a separate mini, JSF-based webapp to render the forms. but that is a bit more clumsy then i anticipated.

      so my opinion, which was leaning clearly towards facelets, needs reviewing

        • 1. Re: facelets ?
          heiko.braun

           


          a separate mini, JSF-based webapp to render the forms.


          yes, that's exactly what i was trying to explain in antwerp. it requires a standalone server component to render/manage those forms.

          • 2. Re: facelets ?
            kukeltje

            correct, but if you want to use it for templating email, you do need it anyway...

            • 3. Re: facelets ?
              tom.baeyens

              i'll look into seam. they do email templating. i wonder if they leverage the JSF from the environment for that or if they stub JSF for the email templating specifically.