public class MailToLinkTextFilter extends Object implements com.opensymphony.module.sitemesh.html.TextFilter
It provides the following syntax:
%{MAIL:id|link text[|subject text[|body text]]}%
where id is either an email address or an identifier in the map provided with the constructor that should map to an email address, text is the text of the link, subject is the subject of the email and body is the body of the email. The subject and body parameters are optional, but both values will be encoded according RFC 3987.
It will be converted into:
<a href="mailto:email@id.moon?subject=subject%20text&body=body%20text">link text</a>
| Constructor and Description |
|---|
MailToLinkTextFilter(Map<String,String> mailMap) |
MailToLinkTextFilter(Map<String,String> mailMap,
String classAttribute) |
Copyright © 2013. All Rights Reserved.