1 Reply Latest reply on Jan 9, 2009 7:32 PM by S M

    How to Format URL in Email Generated by Seam

    Dom Incollingo Newbie
      I'm working with an application that uses Seam 2.0.2.  The application generates email containing a link to a registration page in the same application. I'm running into a problem where the actual url in the generated email contains the seam action, but not the complete url (with the host name and context root).

      The xhtml file that generates the email contains the following tag to create the link:

      <h:outputLink value="studentregistration.seam">
         <h:outputText value="#{labels.Label_here}."/>
      </h:outputLink>

      The link that is created in the email has an href with a value of "studentregistration.seam", not "http://<host name>/<context root>/studentregistration.seam". Is there a way to create the href in the email with the complete url?

      Thanks very much.

      Dom