5 Replies Latest reply on Nov 9, 2008 10:38 PM by danielc.roth

    Wicket and SeamMail

    stephanos

      Hi,


      is it possible to use Seam mail in Wicket? I know that it is based on JSF, but does that mean it has to be installed as the website renderer?


      (evaluating to convert JSF app to Wicket)


      Cheers,
      Stephan

        • 1. Re: Wicket and SeamMail
          cpopetz

          Currently jsf and wicket can't co-exist in the same deployment, and seam's email rendering needs the jsf renderer.  However, the fix for JBSEAM-3645 will allow that, and then there should be no reason it won't work (tm).


          • 2. Re: Wicket and SeamMail
            stephanos

            Thanks for the excellent information!

            • 3. Re: Wicket and SeamMail
              stephanos

              Now that I thought about it, does that mean with your supplied diff it is possible to have a few JSF and also Wicket pages at the same time?
              This would be awesome.


              Did you receive any feedback from the Seam developers for your proposal yet?

              • 4. Re: Wicket and SeamMail
                cpopetz

                The patch that is there does allow one to have both JSF and wicket pages in the same deployment (I'm running with it locally and have an app doing that.)  However, I've been working with the seam developers on a cleaner mechanism for this, so while you can apply that patch to the trunk, if you wait a week there will be a cleaner implementation committed to the trunk. 

                • 5. Re: Wicket and SeamMail

                  You can write some code around the WicketTester class to be able to create similar behaviour as what Seam Mail provides. This way I could use plain wicket html/java code to generate (pretty looking) emails and send them.