You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@manifoldcf.apache.org by kw...@apache.org on 2013/12/20 17:18:56 UTC
svn commit: r1552717 -
/manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/email/Specification_Filter.html
Author: kwright
Date: Fri Dec 20 16:18:56 2013
New Revision: 1552717
URL: http://svn.apache.org/r1552717
Log:
Display exception if there is one when obtaining mailboxes
Modified:
manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/email/Specification_Filter.html
Modified: manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/email/Specification_Filter.html
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/email/Specification_Filter.html?rev=1552717&r1=1552716&r2=1552717&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/email/Specification_Filter.html (original)
+++ manifoldcf/branches/CONNECTORS-553/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/email/Specification_Filter.html Fri Dec 20 16:18:56 2013
@@ -20,20 +20,29 @@ limitations under the License.
<table class="displaytable">
<tr><td class="separator" colspan="2"><hr/></td></tr>
<tr>
+ #if($EXCEPTION == '')
<td class="description">
<nobr>$Encoder.bodyEscape($ResourceBundle.getString('EmailConnector.FoldersColon'))</nobr>
</td>
<td class="value">
<select name="folders" multiple="true" size="4">
- #foreach($name in $FOLDERNAMES)
- #if($FOLDERS.contains($name))
+ #foreach($name in $FOLDERNAMES)
+ #if($FOLDERS.contains($name))
<option value="$Encoder.attributeEscape($name)" selected="true">$Encoder.bodyEscape($name)</option>
- #else
+ #else
<option value="$Encoder.attributeEscape($name)">$Encoder.bodyEscape($name)</option>
+ #end
#end
- #end
</select>
</td>
+ #else
+ <td class="message" colspan="2">
+ #foreach($name in $FOLDERS)
+ <input type="hidden" name="folders" value="$Encoder.attributeEscape($name)"/>
+ #end
+ $Encoder.bodyEscape($EXCEPTION)
+ </td>
+ #end
</tr>
<tr><td class="separator" colspan="2"><hr/></td></tr>
<tr>
@@ -118,6 +127,10 @@ limitations under the License.
#else
+ #foreach($name in $FOLDERS)
+<input type="hidden" name="folders" value="$Encoder.attributeEscape($name)"/>
+ #end
+
#set($k = 0)
#foreach($match in $MATCHES)