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 2012/02/06 10:00:51 UTC
svn commit: r1240934 -
/incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/
Author: kwright
Date: Mon Feb 6 09:00:51 2012
New Revision: 1240934
URL: http://svn.apache.org/viewvc?rev=1240934&view=rev
Log:
Fix for CONNECTORS-400.
Modified:
incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_en_US.html
incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_en_US.js
incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_ja_JP.html
incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_ja_JP.js
incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editSpecification_en_US.html
incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewConfiguration_en_US.html
incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewConfiguration_ja_JP.html
incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewSpecification_en_US.html
incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewSpecification_ja_JP.html
Modified: incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_en_US.html
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_en_US.html?rev=1240934&r1=1240933&r2=1240934&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_en_US.html (original)
+++ incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_en_US.html Mon Feb 6 09:00:51 2012
@@ -16,12 +16,12 @@
-->
<table class="displaytable">
- <tr>
- <td class="separator" colspan="2">
- <hr />
- </td>
- </tr>
- <tr>
+ <tr>
+ <td class="separator" colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
<td class="description">
<nobr>
Tenant domain:
@@ -31,45 +31,48 @@
<input id="tenantDomain" name="tenantDomain" type="text" size="32" value="$TENANTDOMAIN_A" />
</td>
</tr>
- <tr>
- <td class="description">
- <nobr>
- Username:
- </nobr>
- </td>
- <td class="value">
- <input id="username" type="text" name="username" value="$USERNAME_A" />
- </td>
- </tr>
- <tr>
- <td class="description">
- <nobr>
- Password:
- </nobr>
- </td>
- <td class="value">
- <input id="password" type="password" name="password" value="$PASSWORD_A" />
- </td>
- </tr>
- <tr>
- <td class="description">
- <nobr>
- Protocol:
- </nobr>
- </td>
- <td class="value">
- <select id="protocol" name="protocol">
- #if($PROTOCOL_BJ == "https")
+ <tr>
+ <td class="description">
+ <nobr>
+ Username:
+ </nobr>
+ </td>
+ <td class="value">
+ <input id="username" type="text" name="username" value="$USERNAME_A" />
+ </td>
+ </tr>
+ <tr>
+ <td class="description">
+ <nobr>
+ Password:
+ </nobr>
+ </td>
+ <td class="value">
+ <input id="password" type="password" name="password" value="$PASSWORD_A" />
+ </td>
+ </tr>
+ <tr>
+ <td class="description">
+ <nobr>
+ Protocol:
+ </nobr>
+ </td>
+ <td class="value">
+ <select id="protocol" name="protocol">
+#if($PROTOCOL == "http")
+ <option value="http" selected="selected">http</option>
+#else
<option value="http">http</option>
+#end
+#if($PROTOCOL == "https")
<option value="https" selected="selected">https</option>
- #else
- <option value="http" selected="selected">http</option>
+#else
<option value="https">https</option>
- #end
- </select>
- </td>
- </tr>
- <tr>
+#end
+ </select>
+ </td>
+ </tr>
+ <tr>
<td class="description">
<nobr>
Server:
Modified: incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_en_US.js
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_en_US.js?rev=1240934&r1=1240933&r2=1240934&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_en_US.js (original)
+++ incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_en_US.js Mon Feb 6 09:00:51 2012
@@ -24,7 +24,7 @@ function checkConfig()
function checkConfigForSave()
{
- if (editconnection.username.value == "")
+ if (editconnection.username.value == "")
{
alert("The username must be not null");
SelectTab("Server");
@@ -38,35 +38,41 @@ function checkConfigForSave()
editconnection.password.focus();
return false;
}
- if (editconnection.server.value =="") {
+ if (editconnection.server.value =="")
+ {
alert("Server name must be not null");
SelectTab("Server");
- editconnection.server.focus();
- return false;
- } else if(!editconnection.server.value.indexOf('/')==-1) {
- alert("Server name can't contain the character '/'");
- SelectTab("Server");
- editconnection.server.focus();
- return false;
+ editconnection.server.focus();
+ return false;
+ }
+ else if(!editconnection.server.value.indexOf('/')==-1)
+ {
+ alert("Server name can't contain the character '/'");
+ SelectTab("Server");
+ editconnection.server.focus();
+ return false;
}
if (editconnection.port.value == "")
{
- alert("The port must be not null");
- SelectTab("Server");
- editconnection.port.focus();
- return false;
- } else if (!isInteger(editconnection.port.value)){
- alert("The server port must be a valid integer");
- SelectTab("Server");
- editconnection.port.focus();
- return false;
- }
- if(editconnection.path.value == ""){
- alert("Path must be not null");
- SelectTab("Server");
- editconnection.path.focus();
- return false;
- }
+ alert("The port must be not null");
+ SelectTab("Server");
+ editconnection.port.focus();
+ return false;
+ }
+ else if (!isInteger(editconnection.port.value))
+ {
+ alert("The server port must be a valid integer");
+ SelectTab("Server");
+ editconnection.port.focus();
+ return false;
+ }
+ if(editconnection.path.value == "")
+ {
+ alert("Path must be not null");
+ SelectTab("Server");
+ editconnection.path.focus();
+ return false;
+ }
return true;
}
// -->
Modified: incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_ja_JP.html
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_ja_JP.html?rev=1240934&r1=1240933&r2=1240934&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_ja_JP.html (original)
+++ incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_ja_JP.html Mon Feb 6 09:00:51 2012
@@ -16,12 +16,12 @@
-->
<table class="displaytable">
- <tr>
- <td class="separator" colspan="2">
- <hr />
- </td>
- </tr>
- <tr>
+ <tr>
+ <td class="separator" colspan="2">
+ <hr />
+ </td>
+ </tr>
+ <tr>
<td class="description">
<nobr>
ããã³ããã¡ã¤ã³ï¼
@@ -31,45 +31,48 @@
<input id="tenantDomain" name="tenantDomain" type="text" size="32" value="$TENANTDOMAIN_A" />
</td>
</tr>
- <tr>
- <td class="description">
- <nobr>
- ã¦ã¼ã¶åï¼
- </nobr>
- </td>
- <td class="value">
- <input id="username" type="text" name="username" value="$USERNAME_A" />
- </td>
- </tr>
- <tr>
- <td class="description">
- <nobr>
- ãã¹ã¯ã¼ãï¼
- </nobr>
- </td>
- <td class="value">
- <input id="password" type="password" name="password" value="$PASSWORD_A" />
- </td>
- </tr>
- <tr>
- <td class="description">
- <nobr>
- ãããã³ã«ï¼
- </nobr>
- </td>
- <td class="value">
- <select id="protocol" name="protocol">
- #if($PROTOCOL_BJ == "https")
+ <tr>
+ <td class="description">
+ <nobr>
+ ã¦ã¼ã¶åï¼
+ </nobr>
+ </td>
+ <td class="value">
+ <input id="username" type="text" name="username" value="$USERNAME_A" />
+ </td>
+ </tr>
+ <tr>
+ <td class="description">
+ <nobr>
+ ãã¹ã¯ã¼ãï¼
+ </nobr>
+ </td>
+ <td class="value">
+ <input id="password" type="password" name="password" value="$PASSWORD_A" />
+ </td>
+ </tr>
+ <tr>
+ <td class="description">
+ <nobr>
+ ãããã³ã«ï¼
+ </nobr>
+ </td>
+ <td class="value">
+ <select id="protocol" name="protocol">
+#if($PROTOCOL == "http")
+ <option value="http" selected="selected">http</option>
+#else
<option value="http">http</option>
+#end
+#if($PROTOCOL == "https")
<option value="https" selected="selected">https</option>
- #else
- <option value="http" selected="selected">http</option>
+#else
<option value="https">https</option>
- #end
- </select>
- </td>
- </tr>
- <tr>
+#end
+ </select>
+ </td>
+ </tr>
+ <tr>
<td class="description">
<nobr>
ãµã¼ãï¼
Modified: incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_ja_JP.js
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_ja_JP.js?rev=1240934&r1=1240933&r2=1240934&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_ja_JP.js (original)
+++ incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editConfiguration_ja_JP.js Mon Feb 6 09:00:51 2012
@@ -24,7 +24,7 @@ function checkConfig()
function checkConfigForSave()
{
- if (editconnection.username.value == "")
+ if (editconnection.username.value == "")
{
alert("ã¦ã¼ã¶åãå
¥åãã¦ãã ãã");
SelectTab("ãµã¼ã");
@@ -38,35 +38,41 @@ function checkConfigForSave()
editconnection.password.focus();
return false;
}
- if (editconnection.server.value =="") {
+ if (editconnection.server.value =="")
+ {
alert("ãµã¼ãåãå
¥åãã¦ãã ãã");
SelectTab("ãµã¼ã");
- editconnection.server.focus();
- return false;
- } else if(!editconnection.server.value.indexOf('/')==-1) {
- alert("ãµã¼ãåã«æåã/ããå«ããªãã§ãã ãã");
- SelectTab("ãµã¼ã");
- editconnection.server.focus();
- return false;
+ editconnection.server.focus();
+ return false;
+ }
+ else if(!editconnection.server.value.indexOf('/')==-1)
+ {
+ alert("ãµã¼ãåã«æåã/ããå«ããªãã§ãã ãã");
+ SelectTab("ãµã¼ã");
+ editconnection.server.focus();
+ return false;
}
if (editconnection.port.value == "")
{
- alert("ãã¼ãçªå·ãå
¥åãã¦ãã ãã");
- SelectTab("ãµã¼ã");
- editconnection.port.focus();
- return false;
- } else if (!isInteger(editconnection.port.value)){
- alert("ãµã¼ããã¼ãã«ã¯æ´æ°ãå
¥åãã¦ãã ãã");
- SelectTab("ãµã¼ã");
- editconnection.port.focus();
- return false;
- }
- if(editconnection.path.value == ""){
- alert("ãã¹ãå
¥åãã¦ãã ãã");
- SelectTab("ãµã¼ã");
- editconnection.path.focus();
- return false;
- }
+ alert("ãã¼ãçªå·ãå
¥åãã¦ãã ãã");
+ SelectTab("ãµã¼ã");
+ editconnection.port.focus();
+ return false;
+ }
+ else if (!isInteger(editconnection.port.value))
+ {
+ alert("ãµã¼ããã¼ãã«ã¯æ´æ°ãå
¥åãã¦ãã ãã");
+ SelectTab("ãµã¼ã");
+ editconnection.port.focus();
+ return false;
+ }
+ if(editconnection.path.value == "")
+ {
+ alert("ãã¹ãå
¥åãã¦ãã ãã");
+ SelectTab("ãµã¼ã");
+ editconnection.path.focus();
+ return false;
+ }
return true;
}
// -->
Modified: incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editSpecification_en_US.html
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editSpecification_en_US.html?rev=1240934&r1=1240933&r2=1240934&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editSpecification_en_US.html (original)
+++ incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/editSpecification_en_US.html Mon Feb 6 09:00:51 2012
@@ -16,21 +16,21 @@
-->
<table class="displaytable">
- <tr>
- <td class="separator" colspan="3">
- <hr />
- </td>
- </tr>
- <tr>
- <td class="description">
- <nobr>
- Lucene Query:
- </nobr>
- </td>
- <td class="value">
- <nobr>
- <input type="text" size="120" name="luceneQuery" value="$LUCENEQUERY_A" />
- </nobr>
- </td>
- </tr>
+ <tr>
+ <td class="separator" colspan="3">
+ <hr />
+ </td>
+ </tr>
+ <tr>
+ <td class="description">
+ <nobr>
+ Lucene Query:
+ </nobr>
+ </td>
+ <td class="value">
+ <nobr>
+ <input type="text" size="120" name="luceneQuery" value="$LUCENEQUERY_A" />
+ </nobr>
+ </td>
+ </tr>
</table>
Modified: incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewConfiguration_en_US.html
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewConfiguration_en_US.html?rev=1240934&r1=1240933&r2=1240934&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewConfiguration_en_US.html (original)
+++ incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewConfiguration_en_US.html Mon Feb 6 09:00:51 2012
@@ -16,28 +16,28 @@
-->
<table class="displaytable">
- <tr>
- <td class="description" colspan="1">
- <nobr>
- Parameters:
- </nobr>
- </td>
- <td class="value" colspan="3">
- <nobr>
+ <tr>
+ <td class="description" colspan="1">
+ <nobr>
+ Parameters:
+ </nobr>
+ </td>
+ <td class="value" colspan="3">
+ <nobr>
tenantDomain=$TENANTDOMAIN_B
</nobr>
<br />
- <nobr>
- username=$USERNAME_B
- </nobr>
- <br />
+ <nobr>
+ username=$USERNAME_B
+ </nobr>
+ <br />
<nobr>
password=********
</nobr>
- <br />
- <nobr>
- protocol=$PROTOCOL_B
- </nobr>
+ <br />
+ <nobr>
+ protocol=$PROTOCOL_B
+ </nobr>
<br />
<nobr>
server=$SERVER_B
@@ -51,6 +51,6 @@
path=$PATH_B
</nobr>
<br />
- </td>
- </tr>
+ </td>
+ </tr>
</table>
Modified: incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewConfiguration_ja_JP.html
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewConfiguration_ja_JP.html?rev=1240934&r1=1240933&r2=1240934&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewConfiguration_ja_JP.html (original)
+++ incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewConfiguration_ja_JP.html Mon Feb 6 09:00:51 2012
@@ -16,28 +16,28 @@
-->
<table class="displaytable">
- <tr>
- <td class="description" colspan="1">
- <nobr>
- å¼æ°ï¼
- </nobr>
- </td>
- <td class="value" colspan="3">
- <nobr>
+ <tr>
+ <td class="description" colspan="1">
+ <nobr>
+ å¼æ°ï¼
+ </nobr>
+ </td>
+ <td class="value" colspan="3">
+ <nobr>
ããã³ããã¡ã¤ã³=$TENANTDOMAIN_B
</nobr>
<br />
- <nobr>
- ã¦ã¼ã¶å=$USERNAME_B
- </nobr>
- <br />
+ <nobr>
+ ã¦ã¼ã¶å=$USERNAME_B
+ </nobr>
+ <br />
<nobr>
ãã¹ã¯ã¼ã=********
</nobr>
- <br />
- <nobr>
- ãããã³ã«=$PROTOCOL_B
- </nobr>
+ <br />
+ <nobr>
+ ãããã³ã«=$PROTOCOL_B
+ </nobr>
<br />
<nobr>
ãµã¼ã=$SERVER_B
@@ -51,6 +51,6 @@
ãã¹=$PATH_B
</nobr>
<br />
- </td>
- </tr>
+ </td>
+ </tr>
</table>
Modified: incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewSpecification_en_US.html
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewSpecification_en_US.html?rev=1240934&r1=1240933&r2=1240934&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewSpecification_en_US.html (original)
+++ incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewSpecification_en_US.html Mon Feb 6 09:00:51 2012
@@ -16,12 +16,12 @@
-->
<table class="displaytable">
- <tr>
- <td class="description">
- Lucene Query:
- </td>
- <td class="value">
- $LUCENEQUERY_B
- </td>
- </tr>
+ <tr>
+ <td class="description">
+ Lucene Query:
+ </td>
+ <td class="value">
+ $LUCENEQUERY_B
+ </td>
+ </tr>
</table>
Modified: incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewSpecification_ja_JP.html
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewSpecification_ja_JP.html?rev=1240934&r1=1240933&r2=1240934&view=diff
==============================================================================
--- incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewSpecification_ja_JP.html (original)
+++ incubator/lcf/trunk/connectors/alfresco/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/alfresco/viewSpecification_ja_JP.html Mon Feb 6 09:00:51 2012
@@ -16,12 +16,12 @@
-->
<table class="displaytable">
- <tr>
- <td class="description">
- Luceneã¯ã¨ãªã¼ï¼
- </td>
- <td class="value">
- $LUCENEQUERY_B
- </td>
- </tr>
+ <tr>
+ <td class="description">
+ Luceneã¯ã¨ãªã¼ï¼
+ </td>
+ <td class="value">
+ $LUCENEQUERY_B
+ </td>
+ </tr>
</table>