cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Evans <jon.ev...@misgl.com>
Subject jx cocoon.request
Date Fri, 04 Jun 2004 16:15:59 GMT
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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message