Hi,

I've got a pipeline that uses sendmail to mail the user a "forgot password" message.

In it there is (supposed to be) a hyperlink back to the site. However I can't find the magic incantation to get request.getServerName() into my template.

I've tried:
${cocoon.request.serverName}
${cocoon.request.servername}
${cocoon.request.getServerName()}

etc. etc.

${cocoon.request.contentType} works, this is the only instance of ${cocoon.request I could find in the source (using grep).

I'll need scheme and port as well in order to cover all eventualities.

Any ideas?

Cheers,

Jon


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to