[jboss-svn-commits] JBL Code SVN: r7798 - labs/jbossesb/trunk/product/console/view/transform

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Nov 23 10:17:30 EST 2006


Author: tfennelly
Date: 2006-11-23 10:17:28 -0500 (Thu, 23 Nov 2006)
New Revision: 7798

Added:
   labs/jbossesb/trunk/product/console/view/transform/select-message-flow-from.xhtml
   labs/jbossesb/trunk/product/console/view/transform/select-message-flow-to.xhtml
Log:
added

Added: labs/jbossesb/trunk/product/console/view/transform/select-message-flow-from.xhtml
===================================================================
--- labs/jbossesb/trunk/product/console/view/transform/select-message-flow-from.xhtml	2006-11-23 15:16:17 UTC (rev 7797)
+++ labs/jbossesb/trunk/product/console/view/transform/select-message-flow-from.xhtml	2006-11-23 15:17:28 UTC (rev 7798)
@@ -0,0 +1,74 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:h="http://java.sun.com/jsf/html"
+                xmlns:f="http://java.sun.com/jsf/core"
+				xmlns:s="http://jboss.com/products/seam/taglib"
+                template="template.xhtml">
+
+<!-- content -->
+<ui:define name="content">
+	<h:form>
+		<h2>Select Message Exchange : <i>From (Message Producer)...</i></h2>
+		<div class="section">
+			Select the Message Exchange to be associated with all Transformation/Analysis Configurations made on the current browser session.  Note that you don't
+			have to specify a complete message flow.  The selected message flow can, for example, simply specify the "From" property of of the flow i.e. you 
+			may wish to define/view message transformation/analysis configurations for all messages produced by a specific message Producer.  Any combination
+			is supported.
+			<p/>
+			If you wish to cover all message flows (i.e. browse all configurations -OR - create a configuration targeted at all message flows), simply 
+			"reset" the current flow and click through the selection screens without selecting any Message Exchange properties.
+		</div>
+
+		<div class="section">
+		    <h:outputText value="No From Producer Definitions Found" rendered="#{fromEPRs != null and fromEPRs.rowCount==0}"/>
+		    <h:dataTable value="#{fromEPRs}" var="eprFromSelection" rendered="#{fromEPRs.rowCount>0}">
+		        <h:column>
+		            <f:facet name="header"><f:verbatim>&#160;</f:verbatim></f:facet>
+		    		<h:outputText value="+" rendered="#{eprFromSelection.id==messageExchange.fromEPR.id}"/>
+		        </h:column>
+		        <h:column>
+		            <f:facet name="header">From Endpoints (Logical Name)</f:facet>
+				    <s:link action="#{messageExchangeSelect.selectFromEPR}" value="#{eprFromSelection.uri}" />
+		        </h:column>
+		    </h:dataTable>
+		</div>
+
+		<div class="section">
+		    <f:verbatim rendered="#{messageExchange.fromEPR != null and fromMessageTypes != null and fromMessageTypes.rowCount==0}">
+		    	Sorry, there are no <u>PRODUCES</u> Message Contracts defined for the selected "From" Endpoint "<b>#{messageExchange.fromEPR}</b>".
+		    	<p/>
+		    	Message Contract definitions can be created from the main menu.
+		    </f:verbatim>	
+
+		    <h:dataTable value="#{fromMessageTypes}" var="messageTypeSelection" rendered="#{messageExchange.fromEPR != null and fromMessageTypes.rowCount>0}">
+		        <h:column>
+		            <f:facet name="header"><f:verbatim>&#160;</f:verbatim></f:facet>
+		    		<h:outputText value="+" rendered="#{messageTypeSelection.id==messageExchange.fromMessageType.id}"/>
+		        </h:column>
+		        <h:column>
+		            <f:facet name="header">Messages <u>Produced</u> by Endpoint "<i>#{messageExchange.fromEPR}</i>"</f:facet>
+				    <s:link action="#{messageExchangeSelect.selectFromMessageType}" value="#{messageTypeSelection}" />
+		        </h:column>
+		    </h:dataTable>
+		</div>
+
+		<div class="section">
+			<h:commandButton value="Continue..." action="#{messageExchangeSelect.showToEPRs}" class="button" />
+		</div>
+		<div class="section">
+			<h:commandButton value="Cancel" action="#{messageExchangeSelect.cancel}" class="button" />
+		</div>
+
+	</h:form>
+</ui:define>
+
+<!-- sidebar -->
+<ui:define name="sidebar">
+	<h1>Select Message Exchange</h1>
+	<p>
+		Select the message flow on which you would like to perform message transformation configurations.
+	</p>
+</ui:define>
+
+</ui:composition>
\ No newline at end of file

Added: labs/jbossesb/trunk/product/console/view/transform/select-message-flow-to.xhtml
===================================================================
--- labs/jbossesb/trunk/product/console/view/transform/select-message-flow-to.xhtml	2006-11-23 15:16:17 UTC (rev 7797)
+++ labs/jbossesb/trunk/product/console/view/transform/select-message-flow-to.xhtml	2006-11-23 15:17:28 UTC (rev 7798)
@@ -0,0 +1,46 @@
+<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<ui:composition xmlns="http://www.w3.org/1999/xhtml"
+                xmlns:ui="http://java.sun.com/jsf/facelets"
+                xmlns:h="http://java.sun.com/jsf/html"
+                xmlns:f="http://java.sun.com/jsf/core"
+				xmlns:s="http://jboss.com/products/seam/taglib"
+                template="template.xhtml">
+
+<!-- content -->
+<ui:define name="content">
+	<h:form>
+		<h2>Select Message Exchange : <i>To Endpoint...</i></h2>
+
+		<div class="section">
+		    <h:outputText value="No Endpoint Definitions Found" rendered="#{toEPRs != null and toEPRs.rowCount==0}"/>
+		    <h:dataTable value="#{toEPRs}" var="eprToSelection" rendered="#{toEPRs.rowCount>0}">
+		        <h:column>
+		            <f:facet name="header"><f:verbatim>&#160;</f:verbatim></f:facet>
+		    		<h:outputText value="+" rendered="#{eprToSelection.id==messageExchange.toEPR.id}"/>
+		        </h:column>
+		        <h:column>
+		            <f:facet name="header">To Endpoints (Logical Name)</f:facet>
+				    <s:link action="#{messageExchangeSelect.selectToEPR}" value="#{eprToSelection.uri}" />
+		        </h:column>
+		    </h:dataTable>
+		</div>
+
+		<div class="section">
+			<h:commandButton value="Continue..." action="#{messageExchangeSelect.showToTypes}" class="button" />
+		</div>
+		<div class="section">
+			<h:commandButton value="Cancel" action="#{messageExchangeSelect.cancel}" class="button" />
+		</div>
+
+	</h:form>
+</ui:define>
+
+<!-- sidebar -->
+<ui:define name="sidebar">
+	<h1>Select Message Exchange</h1>
+	<p>
+		Select the message flow on which you would like to perform message transformation configurations.
+	</p>
+</ui:define>
+
+</ui:composition>
\ No newline at end of file




More information about the jboss-svn-commits mailing list