blob: 391df846455dc29bdd766eaae07ab0c5c8927bae [file] [log] [blame]
<%-- MailSessions List --%>
<table class="back-table" border="0" cellspacing="0" cellpadding="1"
width="100%"><tr><td>
<table class="front-table" border="1"
cellspacing="0" cellpadding="0" width="100%">
<tr class="header-row">
<logic:present name="checkboxes">
<td width="5%"><div align="left" class="table-header-text">
&nbsp;
</td>
</logic:present>
<th scope="col" width="20%"><div align="left" class="table-header-text">
<bean:message key="resources.mailsession.name"/>
</div></th>
<th scope="col"><div align="left" class="table-header-text">
<bean:message key="resources.mailsession.mailhost"/>
</div></th>
</tr>
<logic:iterate name="mailSessionsForm" property="mailSessions"
id="mailSession" type="java.lang.String">
<tr class="line-row">
<logic:present name="checkboxes">
<td scope="row"><div align="center" class="table-normal-text">
<label for="mailSessions"></label>
<!-- mailSession has double quotes internally, use single quotes for value -->
<!-- See Bugzilla 35982: http://issues.apache.org/bugzilla/show_bug.cgi?id=35982 -->
<input type="checkbox" name="mailSessions" styleId="mailSession"
value='<%= mailSession %>' />
</td>
</logic:present>
<td scope="row"><div align="left" class="table-normal-text">
<html:link page='<%= "/resources/setUpMailSession.do?objectName=" +
URLEncoder.encode(mailSession,"UTF-8") + "&resourcetype=" +
URLEncoder.encode(resourcetypeInfo,"UTF-8") + "&path="+
URLEncoder.encode(pathInfo,"UTF-8") + "&host="+
URLEncoder.encode(hostInfo,"UTF-8") + "&domain="+
URLEncoder.encode(domainInfo,"UTF-8") %>'>
<controls:attribute name="mailSession" attribute="name"/>
</html:link>
</div></td>
<td scope="row"><div align="left" class="table-normal-text">&nbsp;
<controls:attribute name="mailSession" attribute="mail.smtp.host"/>
</div></td>
</tr>
</logic:iterate>
</table>
</td></tr></table>