[jboss-svn-commits] JBL Code SVN: r7799 - 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:18:45 EST 2006


Author: tfennelly
Date: 2006-11-23 10:18:42 -0500 (Thu, 23 Nov 2006)
New Revision: 7799

Added:
   labs/jbossesb/trunk/product/console/view/transform/new-trans-resource-create.xhtml
   labs/jbossesb/trunk/product/console/view/transform/select-message-flow-finish.xhtml
   labs/jbossesb/trunk/product/console/view/transform/select-message-flow-from-type.xhtml
   labs/jbossesb/trunk/product/console/view/transform/select-message-flow-to-type.xhtml
Log:
readded

Added: labs/jbossesb/trunk/product/console/view/transform/new-trans-resource-create.xhtml
===================================================================
--- labs/jbossesb/trunk/product/console/view/transform/new-trans-resource-create.xhtml	2006-11-23 15:17:28 UTC (rev 7798)
+++ labs/jbossesb/trunk/product/console/view/transform/new-trans-resource-create.xhtml	2006-11-23 15:18:42 UTC (rev 7799)
@@ -0,0 +1,99 @@
+<!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">
+	<div class="section">
+	<fieldset>
+		<h:form>			
+			<s:validateAll>
+				<h2>Configure New Resource</h2>
+				<div class="section">
+					<div class="entry">
+						<div class="label"><h:outputLabel for="Name">Resource Name:</h:outputLabel></div>
+						<div class="input">
+							<h:inputText id="Name" value="#{transResource.name}" size="50" disabled="true" />
+							<br/><span class="errors"><h:message for="Name" /></span>
+						</div>
+					</div>
+					<div class="entry">
+						<div class="label"><h:outputLabel for="Resource">Applied Resource:</h:outputLabel></div>
+						<div class="input">
+							<h:inputText id="Resource" value="#{transResource.path}" size="100" disabled="#{transResource.path != null}" required="true" />
+							<br/><span class="errors"><h:message for="Resource" /></span>
+						</div>
+					</div>
+					<div class="entry">
+						<div class="label">Set Execution Patameters:</div>
+						<div class="output">
+						    <h:outputText value="No Parameters" rendered="#{selectedSpecParams != null and selectedSpecParams.rowCount==0}"/>
+						    <h:dataTable value="#{selectedSpecParams}" var="parameterSpecSelection" rendered="#{selectedSpecParams.rowCount>0}">
+						        <h:column>
+								    #{parameterSpecSelection.name}
+						        </h:column>
+						        <h:column>
+						    		<h:outputText value="required" rendered="#{parameterSpecSelection.required}"/>
+						    		<f:verbatim rendered="#{!parameterSpecSelection.required}">&#160;</f:verbatim>
+						        </h:column>
+						        <h:column>
+								    <h:commandLink action="#{newResource.selectParameterSpec}" rendered="#{!parameterSpecSelection.preset}">Set</h:commandLink>
+						    		<h:outputText value="Preset (see below)" rendered="#{parameterSpecSelection.preset}"/>
+						        </h:column>
+						    </h:dataTable>
+						</div>
+					</div>
+				</div>
+				<div class="section">
+				    <h:dataTable value="#{parameterList}" var="parameterSelection" rendered="#{parameterList.rowCount>0}">
+				        <h:column>
+				            <f:facet name="header">Parameter Name</f:facet>
+						    #{parameterSelection.name}
+				        </h:column>
+				        <h:column>
+				            <f:facet name="header">Parameter Value</f:facet>
+						    <pre>#{parameterSelection.valueAsString}</pre>
+				        </h:column>
+				    </h:dataTable>
+				</div>
+
+				<div class="section">
+					<div class="entry errors"><h:messages globalOnly="true"/></div>
+					
+					<div class="entry">
+						<div class="label"><f:verbatim>&#160;</f:verbatim></div>
+						<div class="input">
+							<h:commandButton value="Target Configuration..." action="#{newResource.targetConfig}" class="button"/>
+						</div>
+					</div>
+				</div>		
+			</s:validateAll>
+		</h:form>
+	</fieldset>
+	<h:form>
+		<div class="section">
+			<div class="entry">
+				<div class="label"><f:verbatim>&#160;</f:verbatim></div>
+				<div class="input">
+					<h:commandButton value="Cancel" action="#{newResource.cancel}" class="button"/>
+				</div>
+			</div>		
+		</div>
+	</h:form>
+</div>
+</ui:define>
+
+<!-- sidebar -->
+<ui:define name="sidebar">
+	<b><h:form><h:commandButton value="Set Message Exchange" action="#{messageExchangeSelect.showFromEPRs}" /></h:form></b>
+	<p/>
+	<h1>Create Transformation/Analysis Configuration</h1>
+	Create a message transformation/analysis configuration for the chosen Message Exchange.
+	<p/>
+</ui:define>
+
+</ui:composition>

Added: labs/jbossesb/trunk/product/console/view/transform/select-message-flow-finish.xhtml
===================================================================
--- labs/jbossesb/trunk/product/console/view/transform/select-message-flow-finish.xhtml	2006-11-23 15:17:28 UTC (rev 7798)
+++ labs/jbossesb/trunk/product/console/view/transform/select-message-flow-finish.xhtml	2006-11-23 15:18:42 UTC (rev 7799)
@@ -0,0 +1,41 @@
+<!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>Finished...</i></h2>
+		<div class="section">
+			Review selected message flow...
+		</div>
+		
+		<div class="section">			
+			<div class="entry">
+				<div class="label"><h:outputLabel for="MessageExchange">Selected Message Exchange:</h:outputLabel></div>
+				<div class="output">
+					<f:verbatim id="MessageExchange">#{messageExchange.flowAsHtml}</f:verbatim>
+				</div>
+			</div>
+		</div>
+
+		<div class="section">
+			<s:link action="#{transConfigRejoin.rejoin}" value="Done" linkStyle="button" buttonClass="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-from-type.xhtml
===================================================================
--- labs/jbossesb/trunk/product/console/view/transform/select-message-flow-from-type.xhtml	2006-11-23 15:17:28 UTC (rev 7798)
+++ labs/jbossesb/trunk/product/console/view/transform/select-message-flow-from-type.xhtml	2006-11-23 15:18:42 UTC (rev 7799)
@@ -0,0 +1,51 @@
+<!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>Message <u>From</u>...</i></h2>
+		
+		<div class="section">
+		    <f:verbatim rendered="#{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="#{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-type.xhtml
===================================================================
--- labs/jbossesb/trunk/product/console/view/transform/select-message-flow-to-type.xhtml	2006-11-23 15:17:28 UTC (rev 7798)
+++ labs/jbossesb/trunk/product/console/view/transform/select-message-flow-to-type.xhtml	2006-11-23 15:18:42 UTC (rev 7799)
@@ -0,0 +1,51 @@
+<!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>Message <u>To</u>...</i></h2>
+		
+		<div class="section">
+		    <f:verbatim rendered="#{toMessageTypes != null and toMessageTypes.rowCount==0}">
+		    	Sorry, there are no <u>CONSUMES</u> Message Contracts defined for the selected "To" Endpoint "<b>#{messageExchange.toEPR}</b>".
+		    	<p/>
+		    	Message Contract definitions can be created from the main menu.
+		    </f:verbatim>	
+		    
+		    <h:dataTable value="#{toMessageTypes}" var="messageTypeSelection" rendered="#{toMessageTypes.rowCount>0}">
+		        <h:column>
+		            <f:facet name="header"><f:verbatim>&#160;</f:verbatim></f:facet>
+		    		<h:outputText value="+" rendered="#{messageTypeSelection.id==messageExchange.toMessageType.id}"/>
+		        </h:column>
+		        <h:column>
+		            <f:facet name="header">Messages <u>Consumed</u> by Endpoint "<i>#{messageExchange.toEPR}</i></f:facet>
+				    <s:link action="#{messageExchangeSelect.selectToMessageType}" value="#{messageTypeSelection}" />
+		        </h:column>
+		    </h:dataTable>
+		</div>
+
+		<div class="section">
+			<h:commandButton value="Continue..." action="#{messageExchangeSelect.showFinish}" 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