18 package org.turro.mail.recipients;
21 import java.util.TreeSet;
22 import org.turro.action.MailSenders;
23 import org.turro.elephant.context.IAction;
24 import org.turro.elephant.impl.abstracts.AbstractAction;
25 import org.turro.elephant.impl.util.StringParser;
26 import org.turro.html.HTMLGenerator;
27 import org.turro.marker.FormTrick;
44 boolean isAJAX =
false;
46 if(
"mailform-send".equals(action)) {
47 boolean proceed =
true;
49 hg.
startTable(
"width='100%' style='padding:5px;background-color:#fefefe;color:#444444;border: solid 1px #eeeeee;font-size:12px;font-family:verdana'");
51 .
startTag(
"div",
" style='border-bottom: solid 1px #eeeeee;font-weight:bold'")
56 for(String name :
new TreeSet<String>((Set<String>)
constructor.
getRequest().getParameterMap().keySet())) {
57 if(name.equals(
"formtrick")) {
59 }
else if(!name.equals(
"context") && !name.equals(
"action") && !name.equals(
"email_to")) {
static IMailSender getPool()
String getContextParameter()
String getActionParameter()
static String toHTML(String value)
HTMLGenerator endAllTags()
HTMLGenerator write(String value)
HTMLGenerator writeNewLine()
HTMLGenerator startTag(String tag)
HTMLGenerator startTableCol(String attributes)
HTMLGenerator startTable(String attributes)
void redirect(String path)
HttpServletRequest getRequest()
String getParameter(String param)