manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1791431 - /manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/
Date Fri, 14 Apr 2017 23:58:29 GMT
Author: kwright
Date: Fri Apr 14 23:58:28 2017
New Revision: 1791431

URL: http://svn.apache.org/viewvc?rev=1791431&view=rev
Log:
Reformat

Modified:
    manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf.js
    manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf_server.html
    manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_conf.js
    manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_confDocuments.html
    manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewConfiguration_conf.html
    manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewSpecification_conf.html

Modified: manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf.js
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf.js?rev=1791431&r1=1791430&r2=1791431&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf.js
(original)
+++ manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf.js
Fri Apr 14 23:58:28 2017
@@ -63,22 +63,22 @@ function checkConfigForSave()
     return false;
   }
   
- if (editconnection.nuxeo_path.value == "")
- {
- alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('NuxeoRepositoryConnector.PathMustNotBeNull'))");
- SelectTab("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Server'))");
- editconnection.nuxeo_path.focus();
- return false;
- }
+  if (editconnection.nuxeo_path.value == "")
+  {
+    alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('NuxeoRepositoryConnector.PathMustNotBeNull'))");
+    SelectTab("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Server'))");
+    editconnection.nuxeo_path.focus();
+    return false;
+  }
   
- if (editconnection.nuxeo_path.value != "" &&
- !(editconnection.nuxeo_path.value.indexOf("/") == 0))
- {
- alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('NuxeoRepositoryConnector.PathMustBeginWithASlash'))");
- SelectTab("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Server'))");
- editconnection.nuxeo_path.focus();
- return false;
- }
+  if (editconnection.nuxeo_path.value != "" &&
+    !(editconnection.nuxeo_path.value.indexOf("/") == 0))
+  {
+    alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('NuxeoRepositoryConnector.PathMustBeginWithASlash'))");
+    SelectTab("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Server'))");
+    editconnection.nuxeo_path.focus();
+    return false;
+  }
   
   return true;
 }

Modified: manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf_server.html
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf_server.html?rev=1791431&r1=1791430&r2=1791431&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf_server.html
(original)
+++ manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf_server.html
Fri Apr 14 23:58:28 2017
@@ -2,80 +2,80 @@
 $ResourceBundle.getString('NuxeoRepositoryConnector.Server'))
 
 <table class="displaytable">
-	<tr>
-		<td class="separator" colspan="2"><hr /></td>
-	</tr>
-
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Protocol'))</nobr>
-		</td>
-		<td class="value">
-			<select size="2" name="nuxeo_protocol" />
-				#if($NUXEO_PROTOCOL == 'https')
-					<option value="http">http</option>
-					<option value="https" selected>https</option>
-				#else
-					<option value="http" selected>http</option>
-					<option value="https" >https</option>
-				#end 
-			</select>
-		</td>
-	</tr>
-
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Host'))</nobr>
-		</td>
-		<td class="value"><input size="32" type="text" id="nuxeo_host"
-			name="nuxeo_host" value="$Encoder.attributeEscape($NUXEO_HOST)" /></td>
-	</tr>
-
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Port'))</nobr>
-		</td>
-		<td class="value"><input size="5" type="text" id="nuxeo_port"
-			name="nuxeo_port" value="$Encoder.attributeEscape($NUXEO_PORT)" /></td>
-	</tr>
-
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Path'))</nobr>
-		</td>
-		<td class="value"><input size="32" type="text" id="nuxeo_path"
-			name="nuxeo_path" value="$Encoder.attributeEscape($NUXEO_PATH)" /></td>
-	</tr>
-
-	<tr>
-		<td class="separator" colspan="2"><hr /></td>
-	</tr>
-
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Username'))</nobr>
-		</td>
-		<td class="value"><input size="16" type="text"
-			id="nuxeo_username" name="nuxeo_username"
-			value="$Encoder.attributeEscape($NUXEO_USERNAME)" /></td>
-	</tr>
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Password'))</nobr>
-		</td>
-		<td class="value"><input size="16" type="password"
-			id="nuxeo_password" name="nuxeo_password"
-			value="" /></td>
-	</tr>
+  <tr>
+    <td class="separator" colspan="2"><hr /></td>
+  </tr>
+
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Protocol'))</nobr>
+    </td>
+    <td class="value">
+      <select size="2" name="nuxeo_protocol">
+        #if($NUXEO_PROTOCOL == 'https')
+          <option value="http">http</option>
+          <option value="https" selected>https</option>
+        #else
+          <option value="http" selected>http</option>
+          <option value="https" >https</option>
+        #end 
+      </select>
+    </td>
+  </tr>
+
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Host'))</nobr>
+    </td>
+    <td class="value"><input size="32" type="text" id="nuxeo_host"
+      name="nuxeo_host" value="$Encoder.attributeEscape($NUXEO_HOST)" /></td>
+  </tr>
+
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Port'))</nobr>
+    </td>
+    <td class="value"><input size="5" type="text" id="nuxeo_port"
+      name="nuxeo_port" value="$Encoder.attributeEscape($NUXEO_PORT)" /></td>
+  </tr>
+
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Path'))</nobr>
+    </td>
+    <td class="value"><input size="32" type="text" id="nuxeo_path"
+      name="nuxeo_path" value="$Encoder.attributeEscape($NUXEO_PATH)" /></td>
+  </tr>
+
+  <tr>
+    <td class="separator" colspan="2"><hr /></td>
+  </tr>
+
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Username'))</nobr>
+    </td>
+    <td class="value"><input size="16" type="text"
+      id="nuxeo_username" name="nuxeo_username"
+      value="$Encoder.attributeEscape($NUXEO_USERNAME)" /></td>
+  </tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Password'))</nobr>
+    </td>
+    <td class="value"><input size="16" type="password"
+      id="nuxeo_password" name="nuxeo_password"
+      value="" /></td>
+  </tr>
 </table>
 
 #else
 
 <input type="hidden" name="nuxeo_protocol"
-	value="$Encoder.attributeEscape($NUXEO_PROTOCOL)" />
+  value="$Encoder.attributeEscape($NUXEO_PROTOCOL)" />
 <input type="hidden" name="nuxeo_host"
-	value="$Encoder.attributeEscape($NUXEO_HOST)" />
+  value="$Encoder.attributeEscape($NUXEO_HOST)" />
 <input type="hidden" name="nuxeo_port"
-	value="$Encoder.attributeEscape($NUXEO_PORT)" />
+  value="$Encoder.attributeEscape($NUXEO_PORT)" />
 <input type="hidden" name="nuxeo_path"
-	value="$Encoder.attributeEscape($NUXEO_PATH)" />
+  value="$Encoder.attributeEscape($NUXEO_PATH)" />
 <input type="hidden" name="nuxeo_username"
-	value="$Encoder.attributeEscape($NUXEO_USERNAME)" />
+  value="$Encoder.attributeEscape($NUXEO_USERNAME)" />
 <input type="hidden" name="nuxeo_password"
-	value="" />
+  value="" />
 
 #end

Modified: manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_conf.js
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_conf.js?rev=1791431&r1=1791430&r2=1791431&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_conf.js
(original)
+++ manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_conf.js
Fri Apr 14 23:58:28 2017
@@ -2,7 +2,7 @@
 <script type="text/javascript">
 
 function checkSpecificationForSave(){
-	return true;
+  return true;
 }
 
 function s${SeqNum}_SpecOp(n, opValue, anchorvalue)
@@ -14,7 +14,7 @@ function s${SeqNum}_SpecOp(n, opValue, a
 //Domains
 function s${SeqNum}_SpecDeleteDomain(i)
 {
-	s${SeqNum}_SpecOp("s${SeqNum}_domainop_"+i,"Delete","domain_"+i);
+  s${SeqNum}_SpecOp("s${SeqNum}_domainop_"+i,"Delete","domain_"+i);
 }
 
 function s${SeqNum}_SpecAddDomain(i)
@@ -32,7 +32,7 @@ function s${SeqNum}_SpecAddDomain(i)
 //Documents
 function s${SeqNum}_SpecDeleteDocumentType(i)
 {
-	s${SeqNum}_SpecOp("s${SeqNum}_documentTypeop_"+i,"Delete","documentType_"+i);
+  s${SeqNum}_SpecOp("s${SeqNum}_documentTypeop_"+i,"Delete","documentType_"+i);
 }
 
 function s${SeqNum}_SpecAddDocumentType(i)

Modified: manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_confDocuments.html
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_confDocuments.html?rev=1791431&r1=1791430&r2=1791431&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_confDocuments.html
(original)
+++ manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_confDocuments.html
Fri Apr 14 23:58:28 2017
@@ -3,35 +3,35 @@ $ResourceBundle.getString('NuxeoReposito
 ${SeqNum} == ${SelectedNum})
 
 <table class="displaytable">
-	<tr>
-		<td class="separator" colspan="2"><hr /></td>
-	</tr>
+  <tr>
+    <td class="separator" colspan="2"><hr /></td>
+  </tr>
 
-	<tr>
-		<td class="description" colspan="2">
-			$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.ProcessTags'))
-		</td>
-		<td class="value"><input type="checkbox"
-			name="s${SeqNum}_process_tags" value="true"
-			#if($PROCESS_TAGS) checked 
+  <tr>
+    <td class="description" colspan="2">
+      $Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.ProcessTags'))
+    </td>
+    <td class="value"><input type="checkbox"
+      name="s${SeqNum}_process_tags" value="true"
+      #if($PROCESS_TAGS) checked 
       #end /></td>
-	</tr>
-	<tr>
-		<td class="description" colspan="2">
-			$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.ProcessAttachments'))
-		</td>
-		<td class="value"><input type="checkbox"
-			name="s${SeqNum}_process_attachments" value="true"
-			#if($PROCESS_ATTACHMENTS) checked 
+  </tr>
+  <tr>
+    <td class="description" colspan="2">
+      $Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.ProcessAttachments'))
+    </td>
+    <td class="value"><input type="checkbox"
+      name="s${SeqNum}_process_attachments" value="true"
+      #if($PROCESS_ATTACHMENTS) checked 
       #end /></td>
-	</tr>
+  </tr>
 </table>
 
 #else
 
 <input type="hidden" name="s${SeqNum}_process_tags"
-	value="$PROCESS_TAGS" />
+  value="$PROCESS_TAGS" />
 <input type="hidden" name="s${SeqNum}_process_attachments"
-	value="$PROCESS_ATTACHMENTS" />
+  value="$PROCESS_ATTACHMENTS" />
 
 #end

Modified: manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewConfiguration_conf.html
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewConfiguration_conf.html?rev=1791431&r1=1791430&r2=1791431&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewConfiguration_conf.html
(original)
+++ manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewConfiguration_conf.html
Fri Apr 14 23:58:28 2017
@@ -1,52 +1,52 @@
 
 <table class="displayTable">
 
-	<tr>
-		<td class="description">
-			<nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Protocol'))</nobr>
-		</td>
-		<td>
-			<nobr>$Encoder.bodyEscape($NUXEO_PROTOCOL)</nobr>
-		</td>
-	</tr>
-	<tr>
-		<td class="description">
-			<nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Host'))</nobr>
-		</td>
-		<td>
-			<nobr>$Encoder.bodyEscape($NUXEO_HOST)</nobr>
-		</td>
-	</tr>
-	<tr>
-		<td class="description">
-			<nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Port'))</nobr>
-		</td>
-		<td>
-			<nobr>$Encoder.bodyEscape($NUXEO_PORT)</nobr>
-		</td>
-	</tr>
-	<tr>
-		<td class="description">
-			<nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Path'))</nobr>
-		</td>
-		<td>
-			<nobr>$Encoder.bodyEscape($NUXEO_PATH)</nobr>
-		</td>
-	</tr>
-	<tr>
-		<td class="description">
-			<nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Username'))</nobr>
-		</td>
-		<td>
-			<nobr>$Encoder.bodyEscape($NUXEO_USERNAME)</nobr>
-		</td>
-	</tr>
-	<tr>
-		<td class="description">
-			<nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Password'))</nobr>
-		</td>
-		<td>
-			<nobr>*****</nobr>
-		</td>
+  <tr>
+    <td class="description">
+      <nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Protocol'))</nobr>
+    </td>
+    <td>
+      <nobr>$Encoder.bodyEscape($NUXEO_PROTOCOL)</nobr>
+    </td>
+  </tr>
+  <tr>
+    <td class="description">
+      <nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Host'))</nobr>
+    </td>
+    <td>
+      <nobr>$Encoder.bodyEscape($NUXEO_HOST)</nobr>
+    </td>
+  </tr>
+  <tr>
+    <td class="description">
+      <nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Port'))</nobr>
+    </td>
+    <td>
+      <nobr>$Encoder.bodyEscape($NUXEO_PORT)</nobr>
+    </td>
+  </tr>
+  <tr>
+    <td class="description">
+      <nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Path'))</nobr>
+    </td>
+    <td>
+      <nobr>$Encoder.bodyEscape($NUXEO_PATH)</nobr>
+    </td>
+  </tr>
+  <tr>
+    <td class="description">
+      <nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Username'))</nobr>
+    </td>
+    <td>
+      <nobr>$Encoder.bodyEscape($NUXEO_USERNAME)</nobr>
+    </td>
+  </tr>
+  <tr>
+    <td class="description">
+      <nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Password'))</nobr>
+    </td>
+    <td>
+      <nobr>*****</nobr>
+    </td>
 
 </table>
\ No newline at end of file

Modified: manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewSpecification_conf.html
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewSpecification_conf.html?rev=1791431&r1=1791430&r2=1791431&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewSpecification_conf.html
(original)
+++ manifoldcf/branches/CONNECTORS-1290-2/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewSpecification_conf.html
Fri Apr 14 23:58:28 2017
@@ -1,39 +1,39 @@
 
 <table class="displaytable">
-	<tr>
-		#if($DOMAINS.size() == 0)
-		<td class="message" colspan="2"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.NoDomainsConfigured'))</nobr>
-		</td> #else
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Domains')):</nobr>
-		</td>
-		<td class="value">#set($domaincounter = 0) #foreach($domain in
-			$DOMAINS) <nobr>$Encoder.bodyEscape($domain)</nobr><br />
-			#set($domaincounter = $domaincounter + 1) #end
-		</td> #end
-	</tr>
-	<tr>
-		#if($DOCUMENTSTYPE.size() == 0)
-		<td class="message" colspan="2"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.NoDocumentsTypeConfigured'))</nobr>
-		</td> #else
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.DocumentsType')):</nobr>
-		</td>
-		<td class="value">#set($documentTypecounter = 0)
-			#foreach($documentType in $DOCUMENTSTYPE) <nobr>$Encoder.bodyEscape($documentType)</nobr><br
/>
-			#set($documentTypecounter = $documentTypecounter + 1) #end
-		</td> #end
-	</tr>
-	<tr>
-		<td class="description"><nobr>
-				$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.ProcessTags')):
-			</nobr></td>
-		<td class="value"><nobr>$Encoder.bodyEscape($PROCESS_TAGS)</nobr>
-		</td>
-	</tr>
-	<tr>
-		<td class="description"><nobr>
-				$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.ProcessAttachments')):
-			</nobr></td>
-		<td class="value"><nobr>$Encoder.bodyEscape($PROCESS_ATTACHMENTS)</nobr>
-		</td>
-	</tr>
+  <tr>
+    #if($DOMAINS.size() == 0)
+    <td class="message" colspan="2"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.NoDomainsConfigured'))</nobr>
+    </td> #else
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Domains')):</nobr>
+    </td>
+    <td class="value">#set($domaincounter = 0) #foreach($domain in
+      $DOMAINS) <nobr>$Encoder.bodyEscape($domain)</nobr><br />
+      #set($domaincounter = $domaincounter + 1) #end
+    </td> #end
+  </tr>
+  <tr>
+    #if($DOCUMENTSTYPE.size() == 0)
+    <td class="message" colspan="2"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.NoDocumentsTypeConfigured'))</nobr>
+    </td> #else
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.DocumentsType')):</nobr>
+    </td>
+    <td class="value">#set($documentTypecounter = 0)
+      #foreach($documentType in $DOCUMENTSTYPE) <nobr>$Encoder.bodyEscape($documentType)</nobr><br
/>
+      #set($documentTypecounter = $documentTypecounter + 1) #end
+    </td> #end
+  </tr>
+  <tr>
+    <td class="description"><nobr>
+        $Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.ProcessTags')):
+      </nobr></td>
+    <td class="value"><nobr>$Encoder.bodyEscape($PROCESS_TAGS)</nobr>
+    </td>
+  </tr>
+  <tr>
+    <td class="description"><nobr>
+        $Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.ProcessAttachments')):
+      </nobr></td>
+    <td class="value"><nobr>$Encoder.bodyEscape($PROCESS_ATTACHMENTS)</nobr>
+    </td>
+  </tr>
 </table>
\ No newline at end of file



Mime
View raw message