incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1224918 [3/4] - in /incubator/lcf/branches/CONNECTORS-335/framework: core/src/main/resource/org/apache/manifoldcf/core/i18n/ crawler-ui/src/main/resource/ crawler-ui/src/main/webapp/
Date Tue, 27 Dec 2011 14:48:43 GMT
Modified: incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/maxactivityreport.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/maxactivityreport.jsp?rev=1224918&r1=1224917&r2=1224918&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/maxactivityreport.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/maxactivityreport.jsp Tue Dec 27 14:48:42 2011
@@ -31,7 +31,7 @@ boolean maintenanceUnderway = org.apache
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 	<link rel="StyleSheet" href="style.css" type="text/css" media="screen"/>
 	<title>
-		<fmt:message key='maxactivityreport.ApacheManifoldCFMaximumActivityReport' />
+		<%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.ApacheManifoldCFMaximumActivityReport")%>
 	</title>
 
 	<script type="text/javascript">
@@ -166,7 +166,7 @@ boolean maintenanceUnderway = org.apache
       <tr><td colspan="2" class="banner"><jsp:include page="banner.jsp" flush="true"/></td></tr>
       <tr><td class="navigation"><jsp:include page="navigation.jsp" flush="true"/></td>
        <td class="window">
-	<p class="windowtitle"><fmt:message key='maxactivityreport.MaximumActivityReport' /></p>
+	<p class="windowtitle"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.MaximumActivityReport")%></p>
 <%
 if (maintenanceUnderway == false)
 {
@@ -402,9 +402,9 @@ if (maintenanceUnderway == false)
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description" colspan="1"><fmt:message key='maxactivityreport.Connection' /></td><td class="value" colspan="1">
+				<td class="description" colspan="1"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.Connection")%></td><td class="value" colspan="1">
 					<select name="reportconnection" size="3">
-						<option <%=(reportConnection.length()==0)?"selected=\"selected\"":""%> value="">-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
+						<option <%=(reportConnection.length()==0)?"selected=\"selected\"":""%> value="">-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.NotSpecified")%> --</option>
 <%
 	int i = 0;
 	while (i < connList.length)
@@ -425,7 +425,7 @@ if (maintenanceUnderway == false)
 	if (reportConnection.length() > 0)
 	{
 %>
-				<td class="description" colspan="1"><fmt:message key='maxactivityreport.Activities' /></td><td class="value" colspan="1">
+				<td class="description" colspan="1"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.Activities")%></td><td class="value" colspan="1">
 					<input type="hidden" name="reportactivities_posted" value="true"/>
 					<select multiple="true" name="reportactivities" size="3">
 <%
@@ -455,10 +455,10 @@ if (maintenanceUnderway == false)
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description"><fmt:message key='maxactivityreport.StartTime' /></td>
+				<td class="description"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.StartTime")%></td>
 				<td class="value" colspan="3">
 				    <select class="schedulepulldown" name='reportstarthour' size="3">
-					<option value="" <%=(startHour.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
+					<option value="" <%=(startHour.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.NotSpecified")%> --</option>
 <%
 					k = 0;
 					while (k < 24)
@@ -483,7 +483,7 @@ if (maintenanceUnderway == false)
 %>
 				    </select><nobr/>:<nobr/> 
 				    <select class="schedulepulldown" name='reportstartminute' size="3">
-					<option value="" <%=(startMinute.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
+					<option value="" <%=(startMinute.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.NotSpecified")%> --</option>
 <%
 					k = 0;
 					while (k < 60)
@@ -494,24 +494,24 @@ if (maintenanceUnderway == false)
 						k++;
 					}
 %>
-				    </select> <fmt:message key='maxactivityreport.on' /> 
+				    </select> <%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.on")%> 
 				    <select class="schedulepulldown" name='reportstartmonth' size="3">
-					<option value="" <%=(startMonth.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
-					<option value="0" <%=(startMonth.equals("0"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.January' /></option>
-					<option value="1" <%=(startMonth.equals("1"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.February' /></option>
-					<option value="2" <%=(startMonth.equals("2"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.March' /></option>
-					<option value="3" <%=(startMonth.equals("3"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.April' /></option>
-					<option value="4" <%=(startMonth.equals("4"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.May' /></option>
-					<option value="5" <%=(startMonth.equals("5"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.June' /></option>
-					<option value="6" <%=(startMonth.equals("6"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.July' /></option>
-					<option value="7" <%=(startMonth.equals("7"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.August' /></option>
-					<option value="8" <%=(startMonth.equals("8"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.September' /></option>
-					<option value="9" <%=(startMonth.equals("9"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.October' /></option>
-					<option value="10" <%=(startMonth.equals("10"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.November' /></option>
-					<option value="11" <%=(startMonth.equals("11"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.December' /></option>
+					<option value="" <%=(startMonth.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.NotSpecified")%> --</option>
+					<option value="0" <%=(startMonth.equals("0"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.January")%></option>
+					<option value="1" <%=(startMonth.equals("1"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.February")%></option>
+					<option value="2" <%=(startMonth.equals("2"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.March")%></option>
+					<option value="3" <%=(startMonth.equals("3"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.April")%></option>
+					<option value="4" <%=(startMonth.equals("4"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.May")%></option>
+					<option value="5" <%=(startMonth.equals("5"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.June")%></option>
+					<option value="6" <%=(startMonth.equals("6"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.July")%></option>
+					<option value="7" <%=(startMonth.equals("7"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.August")%></option>
+					<option value="8" <%=(startMonth.equals("8"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.September")%></option>
+					<option value="9" <%=(startMonth.equals("9"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.October")%></option>
+					<option value="10" <%=(startMonth.equals("10"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.November")%></option>
+					<option value="11" <%=(startMonth.equals("11"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.December")%></option>
 				    </select><nobr/>
 				    <select class="schedulepulldown" name='reportstartday' size="3">
-					<option value="" <%=(startDay.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
+					<option value="" <%=(startDay.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.NotSpecified")%> --</option>
 <%
 					k = 0;
 					while (k < 31)
@@ -534,7 +534,7 @@ if (maintenanceUnderway == false)
 %>
 				    </select><nobr/>,<nobr/>
 				    <select class="schedulepulldown" name='reportstartyear' size="3">
-					<option value="" <%=(startYear.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
+					<option value="" <%=(startYear.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.NotSpecified")%> --</option>
 					<option value="2005" <%=(startYear.equals("2005"))?"selected=\"selected\"":""%>>2005</option>
 					<option value="2006" <%=(startYear.equals("2006"))?"selected=\"selected\"":""%>>2006</option>
 					<option value="2007" <%=(startYear.equals("2007"))?"selected=\"selected\"":""%>>2007</option>
@@ -550,10 +550,10 @@ if (maintenanceUnderway == false)
 				</td>
 			</tr>
 			<tr>
-				<td class="description"><fmt:message key='maxactivityreport.EndTime' /></td>
+				<td class="description"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.EndTime")%></td>
 				<td class="value" colspan="3">
 				    <select class="schedulepulldown" name='reportendhour' size="3">
-					<option value="" <%=(endHour.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
+					<option value="" <%=(endHour.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.NotSpecified")%> --</option>
 <%
 					k = 0;
 					while (k < 24)
@@ -578,7 +578,7 @@ if (maintenanceUnderway == false)
 %>
 				    </select><nobr/>:<nobr/> 
 				    <select class="schedulepulldown" name='reportendminute' size="3">
-					<option value="" <%=(endMinute.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
+					<option value="" <%=(endMinute.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.NotSpecified")%> --</option>
 <%
 					k = 0;
 					while (k < 60)
@@ -589,24 +589,24 @@ if (maintenanceUnderway == false)
 						k++;
 					}
 %>
-				    </select> <fmt:message key='maxactivityreport.on' /> 
+				    </select> <%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.on")%> 
 				    <select class="schedulepulldown" name='reportendmonth' size="3">
-					<option value="" <%=(endMonth.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
-					<option value="0" <%=(endMonth.equals("0"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.January' /></option>
-					<option value="1" <%=(endMonth.equals("1"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.February' /></option>
-					<option value="2" <%=(endMonth.equals("2"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.March' /></option>
-					<option value="3" <%=(endMonth.equals("3"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.April' /></option>
-					<option value="4" <%=(endMonth.equals("4"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.May' /></option>
-					<option value="5" <%=(endMonth.equals("5"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.June' /></option>
-					<option value="6" <%=(endMonth.equals("6"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.July' /></option>
-					<option value="7" <%=(endMonth.equals("7"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.August' /></option>
-					<option value="8" <%=(endMonth.equals("8"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.September' /></option>
-					<option value="9" <%=(endMonth.equals("9"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.October' /></option>
-					<option value="10" <%=(endMonth.equals("10"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.November' /></option>
-					<option value="11" <%=(endMonth.equals("11"))?"selected=\"selected\"":""%>><fmt:message key='maxactivityreport.December' /></option>
+					<option value="" <%=(endMonth.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.NotSpecified")%> --</option>
+					<option value="0" <%=(endMonth.equals("0"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.January")%></option>
+					<option value="1" <%=(endMonth.equals("1"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.February")%></option>
+					<option value="2" <%=(endMonth.equals("2"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.March")%></option>
+					<option value="3" <%=(endMonth.equals("3"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.April")%></option>
+					<option value="4" <%=(endMonth.equals("4"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.May")%></option>
+					<option value="5" <%=(endMonth.equals("5"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.June")%></option>
+					<option value="6" <%=(endMonth.equals("6"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.July")%></option>
+					<option value="7" <%=(endMonth.equals("7"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.August")%></option>
+					<option value="8" <%=(endMonth.equals("8"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.September")%></option>
+					<option value="9" <%=(endMonth.equals("9"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.October")%></option>
+					<option value="10" <%=(endMonth.equals("10"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.November")%></option>
+					<option value="11" <%=(endMonth.equals("11"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.December")%></option>
 				    </select><nobr/>
 				    <select class="schedulepulldown" name='reportendday' size="3">
-					<option value="" <%=(endDay.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
+					<option value="" <%=(endDay.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.NotSpecified")%> --</option>
 <%
 					k = 0;
 					while (k < 31)
@@ -629,7 +629,7 @@ if (maintenanceUnderway == false)
 %>
 				    </select><nobr/>,<nobr/>
 				    <select class="schedulepulldown" name='reportendyear' size="3">
-					<option value="" <%=(endYear.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxactivityreport.NotSpecified' /> --</option>
+					<option value="" <%=(endYear.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.NotSpecified")%> --</option>
 					<option value="2005" <%=(endYear.equals("2005"))?"selected=\"selected\"":""%>>2005</option>
 					<option value="2006" <%=(endYear.equals("2006"))?"selected=\"selected\"":""%>>2006</option>
 					<option value="2007" <%=(endYear.equals("2007"))?"selected=\"selected\"":""%>>2007</option>
@@ -648,9 +648,9 @@ if (maintenanceUnderway == false)
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description"><nobr><fmt:message key='maxactivityreport.EntityMatch' /></nobr></td>
+				<td class="description"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.EntityMatch")%></nobr></td>
 				<td class="value"><input type="text" name="reportentitymatch" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(entityMatch)%>'/></td>
-				<td class="description"><nobr><fmt:message key='maxactivityreport.ResultCodeMatch' /></nobr></td>
+				<td class="description"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.ResultCodeMatch")%></nobr></td>
 				<td class="value"><input type="text" name="reportresultcodematch" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(resultCodeMatch)%>'/></td>
 			</tr>
 			<tr>
@@ -658,9 +658,9 @@ if (maintenanceUnderway == false)
 			</tr>
 
 			<tr>
-				<td class="description"><nobr><fmt:message key='maxactivityreport.IdentifierClassDescription' /></nobr></td>
+				<td class="description"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.IdentifierClassDescription")%></nobr></td>
 				<td class="value"><input type="text" name="reportbucketdesc" size="20" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(reportBucketDesc)%>'/></td>
-				<td class="description"><nobr><fmt:message key='maxactivityreport.SlidingWindowSize' /></nobr></td>
+				<td class="description"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.SlidingWindowSize")%></nobr></td>
 				<td class="value"><input type="text" name="reportinterval" size="5" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(Integer.toString(interval))%>'/></td>
 			</tr>
 			<tr>
@@ -671,13 +671,13 @@ if (maintenanceUnderway == false)
 	if (reportConnection.length() > 0)
 	{
 %>
-					<a name="MainButton"><input type="button" value="<fmt:message key='maxactivityreport.Go' />" onClick="javascript:Go()" alt="<fmt:message key='maxactivityreport.ExecuteThisQuery' />"/></a>
+					<a name="MainButton"><input type="button" value="<%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.Go")%>" onClick="javascript:Go()" alt="<%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.ExecuteThisQuery")%>"/></a>
 <%
 	}
 	else
 	{
 %>
-					<a name="MainButton"><input type="button" value="<fmt:message key='maxactivityreport.Continue' />" onClick="javascript:Continue()" alt="<fmt:message key='maxactivityreport.Continue' />"/></a>
+					<a name="MainButton"><input type="button" value="<%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.Continue")%>" onClick="javascript:Continue()" alt="<%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.Continue")%>"/></a>
 <%
 	}
 %>
@@ -758,10 +758,10 @@ if (maintenanceUnderway == false)
 
 		<table class="displaytable">
 		    <tr class="headerrow">
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("idbucket");'><nobr><fmt:message key='maxactivityreport.IdentifierClass' /></nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("activitycount");'><nobr><fmt:message key='maxactivityreport.HighestActivityRate' /></nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("starttime");'><nobr><fmt:message key='maxactivityreport.StartTime' /></nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("endtime");'><nobr><fmt:message key='maxactivityreport.EndTime' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("idbucket");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.IdentifierClass")%></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("activitycount");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.HighestActivityRate")%></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("starttime");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.StartTime")%></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("endtime");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.EndTime")%></nobr></a></td>
 		    </tr>
 <%
 			zz = 0;
@@ -808,13 +808,13 @@ if (maintenanceUnderway == false)
 		if (startRow == 0)
 		{
 %>
-				<fmt:message key='maxactivityreport.Previous' />
+				<%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.Previous")%>
 <%
 		}
 		else
 		{
 %>
-				<a href="javascript:void(0);" onclick='<%="javascript:SetPosition("+Integer.toString(startRow-rowCount)+");"%>' alt="<fmt:message key='maxactivityreport.PreviousPage' />"><fmt:message key='maxactivityreport.Previous' /></a>
+				<a href="javascript:void(0);" onclick='<%="javascript:SetPosition("+Integer.toString(startRow-rowCount)+");"%>' alt="<%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.PreviousPage")%>"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.Previous")%></a>
 <%
 		}
 %>
@@ -829,14 +829,14 @@ if (maintenanceUnderway == false)
 		else
 		{
 %>
-				<a href="javascript:void(0);" onclick='<%="javascript:SetPosition("+Integer.toString(startRow+rowCount)+");"%>' alt="<fmt:message key='maxactivityreport.NextPage' />"><fmt:message key='maxactivityreport.Next' /></a>
+				<a href="javascript:void(0);" onclick='<%="javascript:SetPosition("+Integer.toString(startRow+rowCount)+");"%>' alt="<%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.NextPage")%>"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.Next")%></a>
 <%
 		}
 %>
 				</nobr>
 			</td>
 			<td class="description"><nobr>Rows:</nobr></td><td class="value"><%=Integer.toString(startRow)%>-<%=(hasMoreRows?Integer.toString(startRow+rowCount-1):"END")%></td>
-			<td class="description"><nobr><fmt:message key='maxactivityreport.RowsPerPage' /></nobr></td>
+			<td class="description"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.RowsPerPage")%></nobr></td>
 			<td class="value">
 				<input type="text" name="rowcount" size="5" value='<%=Integer.toString(rowCount)%>'/>
 			</td>
@@ -851,7 +851,7 @@ if (maintenanceUnderway == false)
 	else
 	{
 %>
-		<table class="displaytable"><tr><td class="message"><fmt:message key='maxactivityreport.PleaseSelectAConnection' /></td></tr></table>
+		<table class="displaytable"><tr><td class="message"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.PleaseSelectAConnection")%></td></tr></table>
 <%
 	}
 %>
@@ -863,7 +863,7 @@ else
 %>
 		<table class="displaytable">
 			<tr><td class="separator" colspan="1"><hr/></td></tr>
-			<tr><td class="message"><fmt:message key='maxactivityreport.PleaseTryAgainLater' /></td></tr>
+			<tr><td class="message"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxactivityreport.PleaseTryAgainLater")%></td></tr>
 		</table>
 <%
 }

Modified: incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/maxbandwidthreport.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/maxbandwidthreport.jsp?rev=1224918&r1=1224917&r2=1224918&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/maxbandwidthreport.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/maxbandwidthreport.jsp Tue Dec 27 14:48:42 2011
@@ -31,7 +31,7 @@ boolean maintenanceUnderway = org.apache
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 	<link rel="StyleSheet" href="style.css" type="text/css" media="screen"/>
 	<title>
-		<fmt:message key='maxbandwidthreport.ApacheManifoldCFMaximumBandwidthReport' />
+		<%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.ApacheManifoldCFMaximumBandwidthReport")%>
 	</title>
 
 	<script type="text/javascript">
@@ -166,7 +166,7 @@ boolean maintenanceUnderway = org.apache
       <tr><td colspan="2" class="banner"><jsp:include page="banner.jsp" flush="true"/></td></tr>
       <tr><td class="navigation"><jsp:include page="navigation.jsp" flush="true"/></td>
        <td class="window">
-	<p class="windowtitle"><fmt:message key='maxbandwidthreport.MaximumBandwidthReport' /></p>
+	<p class="windowtitle"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.MaximumBandwidthReport")%></p>
 <%
 if (maintenanceUnderway == false)
 {
@@ -402,9 +402,9 @@ if (maintenanceUnderway == false)
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description" colspan="1"><fmt:message key='maxbandwidthreport.Connection' /></td><td class="value" colspan="1">
+				<td class="description" colspan="1"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.Connection")%></td><td class="value" colspan="1">
 					<select name="reportconnection" size="3">
-						<option <%=(reportConnection.length()==0)?"selected=\"selected\"":""%> value="">-- <fmt:message key='maxbandwidthreport.NotSpecified' /> --</option>
+						<option <%=(reportConnection.length()==0)?"selected=\"selected\"":""%> value="">-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.NotSpecified")%> --</option>
 <%
 	int i = 0;
 	while (i < connList.length)
@@ -425,7 +425,7 @@ if (maintenanceUnderway == false)
 	if (reportConnection.length() > 0)
 	{
 %>
-				<td class="description" colspan="1"><fmt:message key='maxbandwidthreport.Activities' /></td><td class="value" colspan="1">
+				<td class="description" colspan="1"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.Activities")%></td><td class="value" colspan="1">
 					<input type="hidden" name="reportactivities_posted" value="true"/>
 					<select multiple="true" name="reportactivities" size="3">
 <%
@@ -455,10 +455,10 @@ if (maintenanceUnderway == false)
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description"><fmt:message key='maxbandwidthreport.StartTime' /></td>
+				<td class="description"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.StartTime")%></td>
 				<td class="value" colspan="3">
 				    <select class="schedulepulldown" name='reportstarthour' size="3">
-					<option value="" <%=(startHour.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxbandwidthreport.NotSpecified' /> --</option>
+					<option value="" <%=(startHour.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.NotSpecified")%> --</option>
 <%
 					k = 0;
 					while (k < 24)
@@ -483,7 +483,7 @@ if (maintenanceUnderway == false)
 %>
 				    </select><nobr/>:<nobr/> 
 				    <select class="schedulepulldown" name='reportstartminute' size="3">
-					<option value="" <%=(startMinute.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxbandwidthreport.NotSpecified' /> --</option>
+					<option value="" <%=(startMinute.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.NotSpecified")%> --</option>
 <%
 					k = 0;
 					while (k < 60)
@@ -494,24 +494,24 @@ if (maintenanceUnderway == false)
 						k++;
 					}
 %>
-				    </select> <fmt:message key='maxbandwidthreport.on' /> 
+				    </select> <%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.on")%> 
 				    <select class="schedulepulldown" name='reportstartmonth' size="3">
-					<option value="" <%=(startMonth.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxbandwidthreport.NotSpecified' /> --</option>
-					<option value="0" <%=(startMonth.equals("0"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.January' /></option>
-					<option value="1" <%=(startMonth.equals("1"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.February' /></option>
-					<option value="2" <%=(startMonth.equals("2"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.March' /></option>
-					<option value="3" <%=(startMonth.equals("3"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.April' /></option>
-					<option value="4" <%=(startMonth.equals("4"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.May' /></option>
-					<option value="5" <%=(startMonth.equals("5"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.June' /></option>
-					<option value="6" <%=(startMonth.equals("6"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.July' /></option>
-					<option value="7" <%=(startMonth.equals("7"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.August' /></option>
-					<option value="8" <%=(startMonth.equals("8"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.September' /></option>
-					<option value="9" <%=(startMonth.equals("9"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.October' /></option>
-					<option value="10" <%=(startMonth.equals("10"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.November' /></option>
-					<option value="11" <%=(startMonth.equals("11"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.December' /></option>
+					<option value="" <%=(startMonth.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.NotSpecified")%> --</option>
+					<option value="0" <%=(startMonth.equals("0"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.January")%></option>
+					<option value="1" <%=(startMonth.equals("1"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.February")%></option>
+					<option value="2" <%=(startMonth.equals("2"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.March")%></option>
+					<option value="3" <%=(startMonth.equals("3"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.April")%></option>
+					<option value="4" <%=(startMonth.equals("4"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.May")%></option>
+					<option value="5" <%=(startMonth.equals("5"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.June")%></option>
+					<option value="6" <%=(startMonth.equals("6"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.July")%></option>
+					<option value="7" <%=(startMonth.equals("7"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.August")%></option>
+					<option value="8" <%=(startMonth.equals("8"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.September")%></option>
+					<option value="9" <%=(startMonth.equals("9"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.October")%></option>
+					<option value="10" <%=(startMonth.equals("10"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.November")%></option>
+					<option value="11" <%=(startMonth.equals("11"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.December")%></option>
 				    </select><nobr/>
 				    <select class="schedulepulldown" name='reportstartday' size="3">
-					<option value="" <%=(startDay.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxbandwidthreport.NotSpecified' /> --</option>
+					<option value="" <%=(startDay.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.NotSpecified")%> --</option>
 <%
 					k = 0;
 					while (k < 31)
@@ -534,7 +534,7 @@ if (maintenanceUnderway == false)
 %>
 				    </select><nobr/>,<nobr/>
 				    <select class="schedulepulldown" name='reportstartyear' size="3">
-					<option value="" <%=(startYear.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxbandwidthreport.NotSpecified' /> --</option>
+					<option value="" <%=(startYear.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.NotSpecified")%> --</option>
 					<option value="2005" <%=(startYear.equals("2005"))?"selected=\"selected\"":""%>>2005</option>
 					<option value="2006" <%=(startYear.equals("2006"))?"selected=\"selected\"":""%>>2006</option>
 					<option value="2007" <%=(startYear.equals("2007"))?"selected=\"selected\"":""%>>2007</option>
@@ -550,10 +550,10 @@ if (maintenanceUnderway == false)
 				</td>
 			</tr>
 			<tr>
-				<td class="description"><fmt:message key='maxbandwidthreport.EndTime' /></td>
+				<td class="description"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.EndTime")%></td>
 				<td class="value" colspan="3">
 				    <select class="schedulepulldown" name='reportendhour' size="3">
-					<option value="" <%=(endHour.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxbandwidthreport.NotSpecified' /> --</option>
+					<option value="" <%=(endHour.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.NotSpecified")%> --</option>
 <%
 					k = 0;
 					while (k < 24)
@@ -578,7 +578,7 @@ if (maintenanceUnderway == false)
 %>
 				    </select><nobr/>:<nobr/> 
 				    <select class="schedulepulldown" name='reportendminute' size="3">
-					<option value="" <%=(endMinute.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxbandwidthreport.NotSpecified' /> --</option>
+					<option value="" <%=(endMinute.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.NotSpecified")%> --</option>
 <%
 					k = 0;
 					while (k < 60)
@@ -589,24 +589,24 @@ if (maintenanceUnderway == false)
 						k++;
 					}
 %>
-				    </select> <fmt:message key='maxbandwidthreport.on' /> 
+				    </select> <%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.on")%> 
 				    <select class="schedulepulldown" name='reportendmonth' size="3">
-					<option value="" <%=(endMonth.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxbandwidthreport.NotSpecified' /> --</option>
-					<option value="0" <%=(endMonth.equals("0"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.January' /></option>
-					<option value="1" <%=(endMonth.equals("1"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.February' /></option>
-					<option value="2" <%=(endMonth.equals("2"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.March' /></option>
-					<option value="3" <%=(endMonth.equals("3"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.April' /></option>
-					<option value="4" <%=(endMonth.equals("4"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.May' /></option>
-					<option value="5" <%=(endMonth.equals("5"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.June' /></option>
-					<option value="6" <%=(endMonth.equals("6"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.July' /></option>
-					<option value="7" <%=(endMonth.equals("7"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.August' /></option>
-					<option value="8" <%=(endMonth.equals("8"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.September' /></option>
-					<option value="9" <%=(endMonth.equals("9"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.October' /></option>
-					<option value="10" <%=(endMonth.equals("10"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.November' /></option>
-					<option value="11" <%=(endMonth.equals("11"))?"selected=\"selected\"":""%>><fmt:message key='maxbandwidthreport.December' /></option>
+					<option value="" <%=(endMonth.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.NotSpecified")%> --</option>
+					<option value="0" <%=(endMonth.equals("0"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.January")%></option>
+					<option value="1" <%=(endMonth.equals("1"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.February")%></option>
+					<option value="2" <%=(endMonth.equals("2"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.March")%></option>
+					<option value="3" <%=(endMonth.equals("3"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.April")%></option>
+					<option value="4" <%=(endMonth.equals("4"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.May")%></option>
+					<option value="5" <%=(endMonth.equals("5"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.June")%></option>
+					<option value="6" <%=(endMonth.equals("6"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.July")%></option>
+					<option value="7" <%=(endMonth.equals("7"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.August")%></option>
+					<option value="8" <%=(endMonth.equals("8"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.September")%></option>
+					<option value="9" <%=(endMonth.equals("9"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.October")%></option>
+					<option value="10" <%=(endMonth.equals("10"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.November")%></option>
+					<option value="11" <%=(endMonth.equals("11"))?"selected=\"selected\"":""%>><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.December")%></option>
 				    </select><nobr/>
 				    <select class="schedulepulldown" name='reportendday' size="3">
-					<option value="" <%=(endDay.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxbandwidthreport.NotSpecified' /> --</option>
+					<option value="" <%=(endDay.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.NotSpecified")%> --</option>
 <%
 					k = 0;
 					while (k < 31)
@@ -629,7 +629,7 @@ if (maintenanceUnderway == false)
 %>
 				    </select><nobr/>,<nobr/>
 				    <select class="schedulepulldown" name='reportendyear' size="3">
-					<option value="" <%=(endYear.length()==0)?"selected=\"selected\"":""%>>-- <fmt:message key='maxbandwidthreport.NotSpecified' /> --</option>
+					<option value="" <%=(endYear.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.NotSpecified")%> --</option>
 					<option value="2005" <%=(endYear.equals("2005"))?"selected=\"selected\"":""%>>2005</option>
 					<option value="2006" <%=(endYear.equals("2006"))?"selected=\"selected\"":""%>>2006</option>
 					<option value="2007" <%=(endYear.equals("2007"))?"selected=\"selected\"":""%>>2007</option>
@@ -648,9 +648,9 @@ if (maintenanceUnderway == false)
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description"><nobr><fmt:message key='maxbandwidthreport.EntityMatch' /></nobr></td>
+				<td class="description"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.EntityMatch")%></nobr></td>
 				<td class="value"><input type="text" name="reportentitymatch" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(entityMatch)%>'/></td>
-				<td class="description"><nobr><fmt:message key='maxbandwidthreport.ResultCodeMatch' /></nobr></td>
+				<td class="description"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.ResultCodeMatch")%></nobr></td>
 				<td class="value"><input type="text" name="reportresultcodematch" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(resultCodeMatch)%>'/></td>
 			</tr>
 			<tr>
@@ -658,9 +658,9 @@ if (maintenanceUnderway == false)
 			</tr>
 
 			<tr>
-				<td class="description"><nobr><fmt:message key='maxbandwidthreport.IdentifierClassDescription' /></nobr></td>
+				<td class="description"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.IdentifierClassDescription")%></nobr></td>
 				<td class="value"><input type="text" name="reportbucketdesc" size="20" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(reportBucketDesc)%>'/></td>
-				<td class="description"><nobr><fmt:message key='maxbandwidthreport.SlidingWindowSize' /></nobr></td>
+				<td class="description"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.SlidingWindowSize")%></nobr></td>
 				<td class="value"><input type="text" name="reportinterval" size="5" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(Integer.toString(interval))%>'/></td>
 			</tr>
 			<tr>
@@ -671,13 +671,13 @@ if (maintenanceUnderway == false)
 	if (reportConnection.length() > 0)
 	{
 %>
-					<a name="MainButton"><input type="button" value="<fmt:message key='maxbandwidthreport.Go' />" onClick="javascript:Go()" alt="<fmt:message key='maxbandwidthreport.ExecuteThisQuery' />"/></a>
+					<a name="MainButton"><input type="button" value="<%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.Go")%>" onClick="javascript:Go()" alt="<%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.ExecuteThisQuery")%>"/></a>
 <%
 	}
 	else
 	{
 %>
-					<a name="MainButton"><input type="button" value="<fmt:message key='maxbandwidthreport.Continue' />" onClick="javascript:Continue()" alt="<fmt:message key='maxbandwidthreport.Continue' />"/></a>
+					<a name="MainButton"><input type="button" value="<%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.Continue")%>" onClick="javascript:Continue()" alt="<%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.Continue")%>"/></a>
 <%
 	}
 %>
@@ -758,10 +758,10 @@ if (maintenanceUnderway == false)
 
 		<table class="displaytable">
 		    <tr class="headerrow">
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("idbucket");'><nobr><fmt:message key='maxbandwidthreport.IdentifierClass' /></nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("bytecount");'><nobr><fmt:message key='maxbandwidthreport.HighestBandwidth2' /></nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("starttime");'><nobr><fmt:message key='maxbandwidthreport.StartTime' /></nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("endtime");'><nobr><fmt:message key='maxbandwidthreport.EndTime' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("idbucket");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.IdentifierClass")%></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("bytecount");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.HighestBandwidth2")%></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("starttime");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.StartTime")%></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("endtime");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.EndTime")%></nobr></a></td>
 		    </tr>
 <%
 			zz = 0;
@@ -807,13 +807,13 @@ if (maintenanceUnderway == false)
 		if (startRow == 0)
 		{
 %>
-				<fmt:message key='maxbandwidthreport.Previous' />
+				<%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.Previous")%>
 <%
 		}
 		else
 		{
 %>
-				<a href="javascript:void(0);" onclick='<%="javascript:SetPosition("+Integer.toString(startRow-rowCount)+");"%>' alt="<fmt:message key='maxbandwidthreport.PreviousPage' />"><fmt:message key='maxbandwidthreport.Previous' /></a>
+				<a href="javascript:void(0);" onclick='<%="javascript:SetPosition("+Integer.toString(startRow-rowCount)+");"%>' alt="<%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.PreviousPage")%>"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.Previous")%></a>
 <%
 		}
 %>
@@ -822,20 +822,20 @@ if (maintenanceUnderway == false)
 		if (hasMoreRows == false)
 		{
 %>
-				<fmt:message key='maxbandwidthreport.Next' />
+				<%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.Next")%>
 <%
 		}
 		else
 		{
 %>
-				<a href="javascript:void(0);" onclick='<%="javascript:SetPosition("+Integer.toString(startRow+rowCount)+");"%>' alt="<fmt:message key='maxbandwidthreport.NextPage' />"><fmt:message key='maxbandwidthreport.Next' /></a>
+				<a href="javascript:void(0);" onclick='<%="javascript:SetPosition("+Integer.toString(startRow+rowCount)+");"%>' alt="<%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.NextPage")%>"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.Next")%></a>
 <%
 		}
 %>
 				</nobr>
 			</td>
-			<td class="description"><nobr><fmt:message key='maxbandwidthreport.Rows' /></nobr></td><td class="value"><%=Integer.toString(startRow)%>-<%=(hasMoreRows?Integer.toString(startRow+rowCount-1):"END")%></td>
-			<td class="description"><nobr><fmt:message key='maxbandwidthreport.RowsPerPage' /></nobr></td>
+			<td class="description"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.Rows")%></nobr></td><td class="value"><%=Integer.toString(startRow)%>-<%=(hasMoreRows?Integer.toString(startRow+rowCount-1):"END")%></td>
+			<td class="description"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.RowsPerPage")%></nobr></td>
 			<td class="value">
 				<input type="text" name="rowcount" size="5" value='<%=Integer.toString(rowCount)%>'/>
 			</td>
@@ -850,7 +850,7 @@ if (maintenanceUnderway == false)
 	else
 	{
 %>
-		<table class="displaytable"><tr><td class="message"><fmt:message key='maxbandwidthreport.PleaseSelectAConnection' /></td></tr></table>
+		<table class="displaytable"><tr><td class="message"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.PleaseSelectAConnection")%></td></tr></table>
 <%
 	}
 %>
@@ -862,7 +862,7 @@ else
 %>
 		<table class="displaytable">
 			<tr><td class="separator" colspan="1"><hr/></td></tr>
-			<tr><td class="message"><fmt:message key='maxbandwidthreport.PleaseTryAgainLater' /></td></tr>
+			<tr><td class="message"><%=Messages.getString(pageContext.getRequest().getLocale(),"maxbandwidthreport.PleaseTryAgainLater")%></td></tr>
 		</table>
 <%
 }

Modified: incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/navigation.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/navigation.jsp?rev=1224918&r1=1224917&r2=1224918&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/navigation.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/navigation.jsp Tue Dec 27 14:48:42 2011
@@ -28,62 +28,62 @@
 
 %>
 
-<p class="menumain"><nobr><fmt:message key="navigation.Outputs" /></nobr></p>
+<p class="menumain"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.Outputs")%></nobr></p>
 <ul class="menusecond">
 	<li class="menuitem">
-		<nobr><a class="menulink" href="listoutputs.jsp" alt="List authorities"><fmt:message key="navigation.ListOutputConnections" /></a></nobr>
+		<nobr><a class="menulink" href="listoutputs.jsp" alt="List authorities"><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.ListOutputConnections")%></a></nobr>
 	</li>
 </ul>
-<p class="menumain"><nobr><fmt:message key="navigation.Authorities" /></nobr></p>
+<p class="menumain"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.Authorities")%></nobr></p>
 <ul class="menusecond">
 	<li class="menuitem">
-		<nobr><a class="menulink" href="listauthorities.jsp" alt="List authorities"><fmt:message key="navigation.ListAuthorityConnections" /></a></nobr>
+		<nobr><a class="menulink" href="listauthorities.jsp" alt="List authorities"><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.ListAuthorityConnections")%></a></nobr>
 	</li>
 </ul>
-<p class="menumain"><nobr><fmt:message key="navigation.Repositories" /></nobr></p>
+<p class="menumain"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.Repositories")%></nobr></p>
 <ul class="menusecond">
 	<li class="menuitem">
-		<nobr><a class="menulink" href="listconnections.jsp" alt="List repository connections"><fmt:message key="navigation.ListRepositoryConnections" /></a></nobr>
+		<nobr><a class="menulink" href="listconnections.jsp" alt="List repository connections"><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.ListRepositoryConnections")%></a></nobr>
 	</li>
 </ul>
-<p class="menumain"><nobr><fmt:message key="navigation.Jobs" /></nobr></p>
+<p class="menumain"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.Jobs")%></nobr></p>
 <ul class="menusecond">
 	<li class="menuitem">
-		<nobr><a class="menulink" href="listjobs.jsp" alt="List jobs"><fmt:message key="navigation.ListAllJobs" /></a></nobr>						
+		<nobr><a class="menulink" href="listjobs.jsp" alt="List jobs"><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.ListAllJobs")%></a></nobr>						
 	</li>
 	<li class="menuitem">
-		<nobr><a class="menulink" href="showjobstatus.jsp" alt="Manage jobs"><fmt:message key="navigation.StatusAndJobManagement" /></a></nobr>						
+		<nobr><a class="menulink" href="showjobstatus.jsp" alt="Manage jobs"><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.StatusAndJobManagement")%></a></nobr>						
 	</li>
 </ul>
-<p class="menumain"><nobr><fmt:message key="navigation.StatusReports" /></nobr></p>
+<p class="menumain"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.StatusReports")%></nobr></p>
 <ul class="menusecond">
 	<li class="menuitem">
-		<nobr><a class="menulink" href="documentstatus.jsp" alt="Document status"><fmt:message key="navigation.DocumentStatus" /></a></nobr>
+		<nobr><a class="menulink" href="documentstatus.jsp" alt="Document status"><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.DocumentStatus")%></a></nobr>
 	</li>
 	<li class="menuitem">
-		<nobr><a class="menulink" href="queuestatus.jsp" alt="Queue status"><fmt:message key="navigation.QueueStatus" /></a></nobr>
+		<nobr><a class="menulink" href="queuestatus.jsp" alt="Queue status"><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.QueueStatus")%></a></nobr>
 	</li>
 </ul>
-<p class="menumain"><nobr><fmt:message key="navigation.HistoryReports" /></nobr></p>
+<p class="menumain"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.HistoryReports")%></nobr></p>
 <ul class="menusecond">
 	<li class="menuitem">
-		<nobr><a class="menulink" href="simplereport.jsp" alt="Simple history"><fmt:message key="navigation.SimpleHistory" /></a></nobr>
+		<nobr><a class="menulink" href="simplereport.jsp" alt="Simple history"><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.SimpleHistory")%></a></nobr>
 	</li>
 <!-- hozawa
 	<li class="menuitem">
-		<nobr><a class="menulink" href="maxactivityreport.jsp" alt="Maximum activity"><fmt:message key="navigation.MaximumActivity" /></a></nobr>
+		<nobr><a class="menulink" href="maxactivityreport.jsp" alt="Maximum activity"><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.MaximumActivity")%></a></nobr>
 //-->
 	</li>
 	<li class="menuitem">
-		<nobr><a class="menulink" href="maxbandwidthreport.jsp" alt="Maximum bandwidth"><fmt:message key="navigation.MaximumBandwidth" /></a></nobr>
+		<nobr><a class="menulink" href="maxbandwidthreport.jsp" alt="Maximum bandwidth"><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.MaximumBandwidth")%></a></nobr>
 	</li>
 	<li class="menuitem">
-		<nobr><a class="menulink" href="resultreport.jsp" alt="Result histogram"><fmt:message key="navigation.ResultHistogram" /></a></nobr>
+		<nobr><a class="menulink" href="resultreport.jsp" alt="Result histogram"><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.ResultHistogram")%></a></nobr>
 	</li>
 </ul>
-<p class="menumain"><nobr><fmt:message key="navigation.Miscellaneous" /></nobr></p>
+<p class="menumain"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.Miscellaneous")%></nobr></p>
 <ul class="menusecond">
 	<li class="menuitem">
-		<nobr><a class="menulink" href="http://incubator.apache.org/connectors/end-user-documentation.html" alt="Help"><fmt:message key="navigation.Help" /></a></nobr>
+		<nobr><a class="menulink" href="http://incubator.apache.org/connectors/end-user-documentation.html" alt="Help"><%=Messages.getString(pageContext.getRequest().getLocale(),"navigation.Help")%></a></nobr>
 	</li>
 </ul>

Modified: incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/queuestatus.jsp
URL: http://svn.apache.org/viewvc/incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/queuestatus.jsp?rev=1224918&r1=1224917&r2=1224918&view=diff
==============================================================================
--- incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/queuestatus.jsp (original)
+++ incubator/lcf/branches/CONNECTORS-335/framework/crawler-ui/src/main/webapp/queuestatus.jsp Tue Dec 27 14:48:42 2011
@@ -32,7 +32,7 @@ boolean maintenanceUnderway = org.apache
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 	<link rel="StyleSheet" href="style.css" type="text/css" media="screen"/>
 	<title>
-		<fmt:message key='queuestatus.ApacheManifoldCFQueueStatus' />
+		<%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.ApacheManifoldCFQueueStatus")%>
 	</title>
 
 	<script type="text/javascript">
@@ -154,7 +154,7 @@ boolean maintenanceUnderway = org.apache
       <tr><td colspan="2" class="banner"><jsp:include page="banner.jsp" flush="true"/></td></tr>
       <tr><td class="navigation"><jsp:include page="navigation.jsp" flush="true"/></td>
        <td class="window">
-	<p class="windowtitle"><fmt:message key='queuestatus.QueueStatus' /></p>
+	<p class="windowtitle"><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.QueueStatus")%></p>
 <%
 if (maintenanceUnderway == false)
 {
@@ -304,9 +304,9 @@ if (maintenanceUnderway == false)
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description" colspan="1"><fmt:message key='queuestatus.Connection' /></td><td class="value" colspan="1">
+				<td class="description" colspan="1"><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.Connection")%></td><td class="value" colspan="1">
 					<select name="statusconnection" size="3">
-						<option <%=(statusConnection.length()==0)?"selected=\"selected\"":""%> value="">-- <fmt:message key='queuestatus.NotSpecified' /> --</option>
+						<option <%=(statusConnection.length()==0)?"selected=\"selected\"":""%> value="">-- <%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.NotSpecified")%> --</option>
 <%
 	int i = 0;
 	while (i < connList.length)
@@ -327,7 +327,7 @@ if (maintenanceUnderway == false)
 	if (eligibleList != null)
 	{
 %>
-				<td class="description" colspan="1"><fmt:message key='queuestatus.Jobs' /></td><td class="value" colspan="1">
+				<td class="description" colspan="1"><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.Jobs")%></td><td class="value" colspan="1">
 					<select multiple="true" name="statusjobs" size="3">
 <%
 	    i = 0;
@@ -358,35 +358,35 @@ if (maintenanceUnderway == false)
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description"><fmt:message key='queuestatus.TimeOffsetFromNowMinutes' /></td>
+				<td class="description"><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.TimeOffsetFromNowMinutes")%></td>
 				<td class="value" colspan="3">
 					<input name="statusscheduleoffset" type="text" size="6" value=""/>
 				</td>
 			</tr>
 			<tr>
-				<td class="description"><fmt:message key='queuestatus.DocumentState' /></td>
+				<td class="description"><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.DocumentState")%></td>
 				<td class="value" colspan="3">
 					<input name="statusdocumentstates_posted" type="hidden" value="true"/>
 					<select name="statusdocumentstates" multiple="true" size="3">
-						<option <%=((matchingStatesHash.get(new Integer(IJobManager.DOCSTATE_NEVERPROCESSED))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATE_NEVERPROCESSED)%>'><fmt:message key='queuestatus.DocumentsThatHaveNeverBeenProcessed' /></option>
-						<option <%=((matchingStatesHash.get(new Integer(IJobManager.DOCSTATE_PREVIOUSLYPROCESSED))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATE_PREVIOUSLYPROCESSED)%>'><fmt:message key='queuestatus.DocumentsProcessedAtLeastOnce' /></option>
+						<option <%=((matchingStatesHash.get(new Integer(IJobManager.DOCSTATE_NEVERPROCESSED))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATE_NEVERPROCESSED)%>'><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.DocumentsThatHaveNeverBeenProcessed")%></option>
+						<option <%=((matchingStatesHash.get(new Integer(IJobManager.DOCSTATE_PREVIOUSLYPROCESSED))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATE_PREVIOUSLYPROCESSED)%>'><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.DocumentsProcessedAtLeastOnce")%></option>
 					</select>
 				</td>
 			</tr>
 			<tr>
-				<td class="description"><fmt:message key='queuestatus.DocumentState' /></td>
+				<td class="description"><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.DocumentState")%></td>
 				<td class="value" colspan="3">
 					<input name="statusdocumentstatuses_posted" type="hidden" value="true"/>
 					<select name="statusdocumentstatuses" multiple="true" size="3">
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_INACTIVE))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_INACTIVE)%>'><fmt:message key='queuestatus.DocumentsThatAreNoLongerActive' /></option>
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_PROCESSING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_PROCESSING)%>'><fmt:message key='queuestatus.DocumentsCurrentlyInProgress' /></option>
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_EXPIRING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_EXPIRING)%>'><fmt:message key='queuestatus.DocumentsCurrentlyBeingExpired' /></option>
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_DELETING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_DELETING)%>'><fmt:message key='queuestatus.DocumentsCurrentlyBeingDeleted' /></option>
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_READYFORPROCESSING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_READYFORPROCESSING)%>'><fmt:message key='queuestatus.DocumentsCurrentlyAvailableForProcessing' /></option>
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_READYFOREXPIRATION))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_READYFOREXPIRATION)%>'><fmt:message key='queuestatus.DocumentsCurrentlyAvailableForExpiration' /></option>
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_WAITINGFORPROCESSING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_WAITINGFORPROCESSING)%>'><fmt:message key='queuestatus.DocumentsNotYetProcessable' /></option>
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_WAITINGFOREXPIRATION))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_WAITINGFOREXPIRATION)%>'><fmt:message key='queuestatus.DocumentsNotYetExpirable' /></option>
-						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_WAITINGFOREVER))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_WAITINGFOREVER)%>'><fmt:message key='queuestatus.DocumentsWaitingForever' /></option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_INACTIVE))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_INACTIVE)%>'><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.DocumentsThatAreNoLongerActive")%></option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_PROCESSING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_PROCESSING)%>'><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.DocumentsCurrentlyInProgress")%></option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_EXPIRING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_EXPIRING)%>'><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.DocumentsCurrentlyBeingExpired")%></option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_DELETING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_DELETING)%>'><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.DocumentsCurrentlyBeingDeleted")%></option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_READYFORPROCESSING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_READYFORPROCESSING)%>'><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.DocumentsCurrentlyAvailableForProcessing")%></option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_READYFOREXPIRATION))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_READYFOREXPIRATION)%>'><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.DocumentsCurrentlyAvailableForExpiration")%></option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_WAITINGFORPROCESSING))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_WAITINGFORPROCESSING)%>'><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.DocumentsNotYetProcessable")%></option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_WAITINGFOREXPIRATION))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_WAITINGFOREXPIRATION)%>'><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.DocumentsNotYetExpirable")%></option>
+						<option <%=((matchingStatusesHash.get(new Integer(IJobManager.DOCSTATUS_WAITINGFOREVER))==null)?"":"selected=\"selected\"")%> value='<%=Integer.toString(IJobManager.DOCSTATUS_WAITINGFOREVER)%>'><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.DocumentsWaitingForever")%></option>
 					</select>
 				</td>
 			</tr>
@@ -394,11 +394,11 @@ if (maintenanceUnderway == false)
 				<td class="separator" colspan="4"><hr/></td>
 			</tr>
 			<tr>
-				<td class="description"><nobr><fmt:message key='queuestatus.DocumentIdentifierMatch' /></nobr></td>
+				<td class="description"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.DocumentIdentifierMatch")%></nobr></td>
 				<td class="value" colspan="3"><input type="text" name="statusidentifiermatch" size="40" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(identifierMatch)%>'/></td>
 			</tr>
 			<tr>
-				<td class="description"><nobr><fmt:message key='queuestatus.IdentifierClassDescription' /></nobr></td>
+				<td class="description"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.IdentifierClassDescription")%></nobr></td>
 				<td class="value" colspan="3"><input type="text" name="statusbucketdesc" size="40" value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(statusBucketDesc)%>'/></td>
 			</tr>
 			<tr>
@@ -410,13 +410,13 @@ if (maintenanceUnderway == false)
 	if (statusConnection.length() > 0 && statusJobIdentifiers.length > 0)
 	{
 %>
-					<a name="MainButton"><input type="button" value="<fmt:message key='queuestatus.Go' />" onClick="javascript:Go()" alt="<fmt:message key='queuestatus.ExecuteThisQuery' />"/></a>
+					<a name="MainButton"><input type="button" value="<%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.Go")%>" onClick="javascript:Go()" alt="<%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.ExecuteThisQuery")%>"/></a>
 <%
 	}
 	else
 	{
 %>
-					<a name="MainButton"><input type="button" value="<fmt:message key='queuestatus.Continue' />" onClick="javascript:Continue()" alt="<fmt:message key='queuestatus.Continue' />"/></a>
+					<a name="MainButton"><input type="button" value="<%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.Continue")%>" onClick="javascript:Continue()" alt="<%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.Continue")%>"/></a>
 <%
 	}
 %>
@@ -482,16 +482,16 @@ if (maintenanceUnderway == false)
 
 		<table class="displaytable">
 		    <tr class="headerrow">
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("idbucket");'><nobr><fmt:message key='queuestatus.IdentifierClass' /></nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("inactive");'><nobr><fmt:message key='queuestatus.Inactive' /></nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("processing");'><nobr><fmt:message key='queuestatus.Processing' /></nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("expiring");'><nobr><fmt:message key='queuestatus.Expiring' /></nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("deleting");'><nobr><fmt:message key='queuestatus.Deleting' /></nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("processready");'><nobr><fmt:message key='queuestatus.AboutToProcess' /></nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("expireready");'><nobr><fmt:message key='queuestatus.AboutToExpire' /></nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("processwaiting");'><nobr><fmt:message key='queuestatus.WaitingForProcessing' /></nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("expirewaiting");'><nobr><fmt:message key='queuestatus.WaitingForExpiration' /></nobr></a></td>
-			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("waitingforever");'><nobr><fmt:message key='queuestatus.WaitingForever' /></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("idbucket");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.IdentifierClass")%></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("inactive");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.Inactive")%></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("processing");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.Processing")%></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("expiring");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.Expiring")%></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("deleting");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.Deleting")%></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("processready");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.AboutToProcess")%></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("expireready");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.AboutToExpire")%></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("processwaiting");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.WaitingForProcessing")%></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("expirewaiting");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.WaitingForExpiration")%></nobr></a></td>
+			<td class="reportcolumnheader"><a href="javascript:void(0);" onclick='javascript:ColumnClick("waitingforever");'><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.WaitingForever")%></nobr></a></td>
 		    </tr>
 <%
 		zz = 0;
@@ -549,13 +549,13 @@ if (maintenanceUnderway == false)
 		if (startRow == 0)
 		{
 %>
-				<fmt:message key='queuestatus.Previous' />
+				<%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.Previous")%>
 <%
 		}
 		else
 		{
 %>
-				<a href="javascript:void(0);" onclick='<%="javascript:SetPosition("+Integer.toString(startRow-rowCount)+");"%>' alt="<fmt:message key='queuestatus.PreviousPage' />"><fmt:message key='queuestatus.Previous' /></a>
+				<a href="javascript:void(0);" onclick='<%="javascript:SetPosition("+Integer.toString(startRow-rowCount)+");"%>' alt="<%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.PreviousPage")%>"><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.Previous")%></a>
 <%
 		}
 %>
@@ -564,20 +564,20 @@ if (maintenanceUnderway == false)
 		if (hasMoreRows == false)
 		{
 %>
-				<fmt:message key='queuestatus.Next' />
+				<%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.Next")%>
 <%
 		}
 		else
 		{
 %>
-				<a href="javascript:void(0);" onclick='<%="javascript:SetPosition("+Integer.toString(startRow+rowCount)+");"%>' alt="<fmt:message key='queuestatus.NextPage' />"><fmt:message key='queuestatus.Next' /></a>
+				<a href="javascript:void(0);" onclick='<%="javascript:SetPosition("+Integer.toString(startRow+rowCount)+");"%>' alt="<%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.NextPage")%>"><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.Next")%></a>
 <%
 		}
 %>
 				</nobr>
 			</td>
-			<td class="description"><nobr><fmt:message key='queuestatus.Rows' /></nobr></td><td class="value"><%=Integer.toString(startRow)%>-<%=(hasMoreRows?Integer.toString(startRow+rowCount-1):"END")%></td>
-			<td class="description"><nobr><fmt:message key='queuestatus.RowsPerPage' /></nobr></td>
+			<td class="description"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.Rows")%></nobr></td><td class="value"><%=Integer.toString(startRow)%>-<%=(hasMoreRows?Integer.toString(startRow+rowCount-1):"END")%></td>
+			<td class="description"><nobr><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.RowsPerPage")%></nobr></td>
 			<td class="value">
 				<input type="text" name="rowcount" size="5" value='<%=Integer.toString(rowCount)%>'/>
 			</td>
@@ -592,14 +592,14 @@ if (maintenanceUnderway == false)
 	    else
 	    {
 %>
-		<table class="displaytable"><tr><td class="message"><fmt:message key='queuestatus.PleaseSelectAtLeastOneJob' /></td></tr></table>
+		<table class="displaytable"><tr><td class="message"><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.PleaseSelectAtLeastOneJob")%></td></tr></table>
 <%
 	    }
 	}
 	else
 	{
 %>
-		<table class="displaytable"><tr><td class="message"><fmt:message key='queuestatus.PleaseSelectaConnection' /></td></tr></table>
+		<table class="displaytable"><tr><td class="message"><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.PleaseSelectaConnection")%></td></tr></table>
 <%
 	}
 %>
@@ -611,7 +611,7 @@ else
 %>
 		<table class="displaytable">
 			<tr><td class="separator" colspan="1"><hr/></td></tr>
-			<tr><td class="message"><fmt:message key='queuestatus.PleaseTryAgainLater' /></td></tr>
+			<tr><td class="message"><%=Messages.getString(pageContext.getRequest().getLocale(),"queuestatus.PleaseTryAgainLater")%></td></tr>
 		</table>
 <%
 }



Mime
View raw message