1 Reply Latest reply on Oct 8, 2008 11:52 PM by James Ladd

    Where does getRenderedMailMessage() find the template?

    James Ladd Newbie
      I have a SeamTest that calls getRenderedMailMessage("/mymessage.xhtml") and no matter where I put mymessage.xhtml I get a resource not found exception.
      Where does the template have to be put ?
      I know the template is reasonable because I can get to it from browser, with mymessage.seam

      Here is what my test looks like:

          public void testSimpleMessage() throws Exception {
              new FacesRequest() {
                  protected void invokeApplication() throws Exception {
                      MimeMessage renderedMessage = getRenderedMailMessage("/mymessage.xhtml");

      Has anyone got this working ?