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 2014/12/23 04:03:57 UTC

svn commit: r1647475 - in /manifoldcf/branches/CONNECTORS-1119: connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/notifications/email/Specification_Message.html framework/crawler-ui/src/main/webapp/editjob.jsp

Author: kwright
Date: Tue Dec 23 03:03:56 2014
New Revision: 1647475

URL: http://svn.apache.org/r1647475
Log:
More debugging

Modified:
    manifoldcf/branches/CONNECTORS-1119/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/notifications/email/Specification_Message.html
    manifoldcf/branches/CONNECTORS-1119/framework/crawler-ui/src/main/webapp/editjob.jsp

Modified: manifoldcf/branches/CONNECTORS-1119/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/notifications/email/Specification_Message.html
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1119/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/notifications/email/Specification_Message.html?rev=1647475&r1=1647474&r2=1647475&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-1119/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/notifications/email/Specification_Message.html (original)
+++ manifoldcf/branches/CONNECTORS-1119/connectors/email/connector/src/main/resources/org/apache/manifoldcf/crawler/notifications/email/Specification_Message.html Tue Dec 23 03:03:56 2014
@@ -24,7 +24,7 @@ limitations under the License.
       <nobr>$Encoder.bodyEscape($ResourceBundle.getString('EmailConnector.ToColon'))</nobr>
     </td>
     <td class="value">
-      <input type="text" name="to" size="32" value="$Encoder.attributeEscape($TO)"/>
+      <input type="text" name="s${SeqNum}_to" size="32" value="$Encoder.attributeEscape($TO)"/>
     </td>
   </tr>
   <tr>
@@ -32,7 +32,7 @@ limitations under the License.
       <nobr>$Encoder.bodyEscape($ResourceBundle.getString('EmailConnector.FromColon'))</nobr>
     </td>
     <td class="value">
-      <input type="text" name="from" size="32" value="$Encoder.attributeEscape($FROM)"/>
+      <input type="text" name="s${SeqNum}_from" size="32" value="$Encoder.attributeEscape($FROM)"/>
     </td>
   </tr>
   <tr>
@@ -40,7 +40,7 @@ limitations under the License.
       <nobr>$Encoder.bodyEscape($ResourceBundle.getString('EmailConnector.SubjectColon'))</nobr>
     </td>
     <td class="value">
-      <input type="text" name="subject" size="50" value="$Encoder.attributeEscape($SUBJECT)"/>
+      <input type="text" name="s${SeqNum}_subject" size="50" value="$Encoder.attributeEscape($SUBJECT)"/>
     </td>
   </tr>
   <tr>
@@ -48,7 +48,7 @@ limitations under the License.
       <nobr>$Encoder.bodyEscape($ResourceBundle.getString('EmailConnector.BodyColon'))</nobr>
     </td>
     <td class="value">
-      <textarea name="body" rows="10" cols="50">$Encoder.bodyEscape($BODY)</textarea>
+      <textarea name="s${SeqNum}_body" rows="10" cols="50">$Encoder.bodyEscape($BODY)</textarea>
     </td>
   </tr>
 
@@ -56,9 +56,9 @@ limitations under the License.
 
 #else
 
-<input type="hidden" name="to" value="$Encoder.attributeEscape($TO)"/>
-<input type="hidden" name="from" value="$Encoder.attributeEscape($FROM)"/>
-<input type="hidden" name="subject" value="$Encoder.attributeEscape($SUBJECT)"/>
-<input type="hidden" name="body" value="$Encoder.attributeEscape($BODY)"/>
+<input type="hidden" name="s${SeqNum}_to" value="$Encoder.attributeEscape($TO)"/>
+<input type="hidden" name="s${SeqNum}_from" value="$Encoder.attributeEscape($FROM)"/>
+<input type="hidden" name="s${SeqNum}_subject" value="$Encoder.attributeEscape($SUBJECT)"/>
+<input type="hidden" name="s${SeqNum}_body" value="$Encoder.attributeEscape($BODY)"/>
 
 #end

Modified: manifoldcf/branches/CONNECTORS-1119/framework/crawler-ui/src/main/webapp/editjob.jsp
URL: http://svn.apache.org/viewvc/manifoldcf/branches/CONNECTORS-1119/framework/crawler-ui/src/main/webapp/editjob.jsp?rev=1647475&r1=1647474&r2=1647475&view=diff
==============================================================================
--- manifoldcf/branches/CONNECTORS-1119/framework/crawler-ui/src/main/webapp/editjob.jsp (original)
+++ manifoldcf/branches/CONNECTORS-1119/framework/crawler-ui/src/main/webapp/editjob.jsp Tue Dec 23 03:03:56 2014
@@ -709,7 +709,7 @@
 			{
 				try
 				{
-					notificationConnector.outputSpecificationHeader(new org.apache.manifoldcf.ui.jsp.JspWrapper(out,adminprofile),pageContext.getRequest().getLocale(),notificationSpecifications[j],1+j,tabsArray);
+					notificationConnector.outputSpecificationHeader(new org.apache.manifoldcf.ui.jsp.JspWrapper(out,adminprofile),pageContext.getRequest().getLocale(),notificationSpecifications[j],1+pipelineConnectionNames.length+j,tabsArray);
 				}
 				finally
 				{