[jboss-cvs] JBossAS SVN: r63435 - projects/admin-console/trunk/src/resources/admin-console.war/WEB-INF/jsp/jms.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jun 8 16:09:57 EDT 2007


Author: chilin
Date: 2007-06-08 16:09:57 -0400 (Fri, 08 Jun 2007)
New Revision: 63435

Added:
   projects/admin-console/trunk/src/resources/admin-console.war/WEB-INF/jsp/jms/detailClustered.jsp
Log:
Made changes to support clustered post office.


Added: projects/admin-console/trunk/src/resources/admin-console.war/WEB-INF/jsp/jms/detailClustered.jsp
===================================================================
--- projects/admin-console/trunk/src/resources/admin-console.war/WEB-INF/jsp/jms/detailClustered.jsp	                        (rev 0)
+++ projects/admin-console/trunk/src/resources/admin-console.war/WEB-INF/jsp/jms/detailClustered.jsp	2007-06-08 20:09:57 UTC (rev 63435)
@@ -0,0 +1,199 @@
+<!-- 
+ * JBoss, Home of Professional Open Source
+ * Copyright 2006, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
+ 
+<%@	page contentType="text/html;charset=UTF-8" language="java" %>
+<%@	include	file="/WEB-INF/jsp/common/taglibs.inc.jsp" %>
+<html:xhtml/>
+<fmt:setBundle basename="messages.jmsmessages" var="jmsmsg" scope="page"/>
+<div id="main">
+	<script>
+		function setPageAndSubmit(target){
+			document.forms["jms"].destination.value=target;
+			document.forms["jms"].submit();
+		}
+        function setDispatch(target) {
+			document.forms["jms"].dispatch.value=target;
+		}
+	</script>
+
+	<ul	class="navigation">
+		<li>
+			<a href="javascript:void(setPageAndSubmit('page1'))">
+				<fmt:message key="jms.section.heading.settings.page" bundle="${jmsmsg}" />
+			</a>
+		</li>
+		<li>
+			<a href="javascript:void(setPageAndSubmit('page2'))">
+				<fmt:message key="jms.section.heading.more.page" bundle="${jmsmsg}" />
+			</a>
+		</li>
+		<li>
+			<a href="javascript:void(setPageAndSubmit('page3'))">
+				<fmt:message key="jms.section.heading.msgSql.page" bundle="${jmsmsg}" />
+			</a>
+		</li>
+		<li>
+			<a href="javascript:void(setPageAndSubmit('page4'))">
+				<fmt:message key="jms.section.heading.userSql.page" bundle="${jmsmsg}" />
+			</a>
+		</li>
+		<li>
+			<a href="javascript:void(setPageAndSubmit('page5'))">
+				<fmt:message key="jms.section.heading.postOfficeSql.page" bundle="${jmsmsg}" />
+			</a>
+		</li>
+		<li>
+			<a href="javascript:void(setPageAndSubmit('pageConnFactory'))">
+				<fmt:message key="jms.section.heading.connFactory.page" bundle="${jmsmsg}" />
+			</a>
+		</li>
+		<li>
+			<a class="active">
+				<fmt:message key="jms.section.heading.clustered.page" bundle="${jmsmsg}" />
+			</a>
+		</li>
+	</ul>
+
+    <p class="sectionHeading">
+		<span class="sectionHeadingText">
+			<fmt:message key="jms.section.heading.manage" bundle="${jmsmsg}" />
+			<fmt:message key="jms.section.heading.clustered" bundle="${jmsmsg}" />
+		</span>
+	</p>
+
+	<logic:messagesPresent message="false">
+		<p class="error">
+			<html:errors /><br/>
+		</p>
+	</logic:messagesPresent	>
+	<logic:messagesPresent message="true">
+		<p class="infoMessage">
+			<html:messages id="theMessage" message="true">
+			<%=	theMessage %>
+			</html:messages>
+		</p>
+	</logic:messagesPresent	>
+
+	<bean:define id="jmsForm" name="jms" type="org.jboss.admin.console.web.struts.jms.JmsForm"/>
+	<html:form action="jms/save">
+		<div class="caseDetail">
+            <html:hidden property="dispatch" value="navigation"/>
+			<html:hidden property="destination"	value="error"/>
+			<ul>
+				<li>
+				    <span class="caseDetailFieldHeader"><fmt:message key="jms.view.groupName" bundle="${jmsmsg}" /></span>
+					<html:text property="groupName" />
+				</li>
+				<li>
+				    <span class="caseDetailFieldHeader"><fmt:message key="jms.view.stateTimeout" bundle="${jmsmsg}" /></span>
+					<html:text property="stateTimeout" />
+				</li>
+				<li>
+				    <span class="caseDetailFieldHeader"><fmt:message key="jms.view.castTimeout" bundle="${jmsmsg}" /></span>
+					<html:text property="castTimeout" />
+				</li>
+				<li>
+				    <span class="caseDetailFieldHeader"><fmt:message key="jms.view.statsSendPeriod" bundle="${jmsmsg}" /></span>
+					<html:text property="statsSendPeriod" />
+				</li>
+				<li>
+				    <span class="caseDetailFieldHeader"><fmt:message key="jms.view.threadPoolSize" bundle="${jmsmsg}" /></span>
+					<html:text property="threadPoolSize" />
+				</li>
+				<li>
+				    <span class="caseDetailFieldHeader"><fmt:message key="jms.view.messagePullPolicy" bundle="${jmsmsg}" /></span>
+					<html:text property="messagePullPolicy" />
+				</li>
+				<li>
+					<span class="caseDetailFieldHeader"><fmt:message key="jms.view.clusterRouterFactory" bundle="${jmsmsg}" /></span>
+					<html:text property="clusterRouterFactory" />
+				</li>
+				<li>
+					<span class="caseDetailFieldHeader"><fmt:message key="jms.view.channelFactoryName" bundle="${jmsmsg}" /></span>
+					<html:text property="channelFactoryName" />
+				</li>
+				<li>
+					<span class="caseDetailFieldHeader"><fmt:message key="jms.view.channelPartitionName" bundle="${jmsmsg}" /></span>
+					<html:text property="channelPartitionName" />
+				</li>
+				<li>
+					<span class="caseDetailFieldHeader"><fmt:message key="jms.view.syncChannelName" bundle="${jmsmsg}" /></span>
+					<html:text property="syncChannelName" />
+				</li>
+				<li>
+					<span class="caseDetailFieldHeader"><fmt:message key="jms.view.asyncChannelName" bundle="${jmsmsg}" /></span>
+					<html:text property="asyncChannelName" />
+				</li>
+				<li>
+					<span class="caseDetailFieldHeader"><fmt:message key="jms.view.syncChannelConfig" bundle="${jmsmsg}" /></span>
+					<ul>
+						<logic:iterate id="element" name="jms" property="syncChannelConfig">
+							<bean:define id="configKey" name="element" property="key" />
+							<% String name = "syncChannelConfig(" + configKey + ")"; %>
+							<li>
+								<span class="caseDetailFieldHeader">
+									<bean:write name="configKey"/>:
+								</span>
+								<html:text property="<%= name %>" size="60" />
+							</li>
+						</logic:iterate>
+					</ul>
+				</li>
+				<li>
+					<span class="caseDetailFieldHeader"><fmt:message key="jms.view.asyncChannelConfig" bundle="${jmsmsg}" /></span>
+					<ul>
+						<logic:iterate id="element" name="jms" property="asyncChannelConfig">
+							<bean:define id="configKey" name="element" property="key" />
+							<% String name = "asyncChannelConfig(" + configKey + ")"; %>
+							<li>
+								<span class="caseDetailFieldHeader">
+									<bean:write name="configKey"/>:
+								</span>
+								<html:text property="<%= name %>" size="60" />
+							</li>
+						</logic:iterate>
+					</ul>
+				</li>
+			</ul>
+
+			<% // include hidden values	for	checked	checkboxes specified on	other pages	%>
+			<logic:equal name="jms"	property="createMsgTablesOnStartup" value="true">
+				<html:hidden property="createMsgTablesOnStartup" value="on"/>
+			</logic:equal>
+			<logic:equal name="jms"	property="usingBatchUpdates" value="true">
+				<html:hidden property="usingBatchUpdates" value="on"/>
+			</logic:equal>
+			<logic:equal name="jms"	property="usingBinaryStream" value="true">
+				<html:hidden property="usingBinaryStream" value="on"/>
+			</logic:equal>
+			<logic:equal name="jms"	property="usingTrailingByte" value="true">
+				<html:hidden property="usingTrailingByte" value="on"/>
+			</logic:equal>
+			<logic:equal name="jms"	property="createUserTablesOnStartup" value="true">
+				<html:hidden property="createUserTablesOnStartup" value="on"/>
+			</logic:equal>
+			<logic:equal name="jms"	property="createPostOfficeTablesOnStartup" value="true">
+				<html:hidden property="createPostOfficeTablesOnStartup" value="on"/>
+			</logic:equal>	
+		</div>
+	</html:form>
+</div>
\ No newline at end of file




More information about the jboss-cvs-commits mailing list