From 66d49de914bbf16ff8f63ff4a9093f2cc1785493 Mon Sep 17 00:00:00 2001
From: Guillaume Thomazon <gtn@kereval.com>
Date: Thu, 28 Feb 2013 16:13:10 +0000
Subject: [PATCH] Add parameters in url

git-svn-id: https://scm.gforge.inria.fr/authscm/ycadoret/svn/gazelle/Maven/gazelle-proxy/trunk@33937 356b4b1a-1d2b-0410-8bf1-ffa24008f01e
---
 .../src/main/webapp/messageList.xhtml              | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gazelle-proxy-common-war/src/main/webapp/messageList.xhtml b/gazelle-proxy-common-war/src/main/webapp/messageList.xhtml
index 3c11117e..2c2df7e0 100644
--- a/gazelle-proxy-common-war/src/main/webapp/messageList.xhtml
+++ b/gazelle-proxy-common-war/src/main/webapp/messageList.xhtml
@@ -20,7 +20,7 @@
 					value="#{messages['net.ihe.gazelle.proxy.ConnectionId']}" />
 			</f:facet>
 			<a4j:htmlCommandLink
-				action="#{messagesBean.setConnectionId(message.connection.id)}"
+				action="#{messagesBean.redirectToMessages(messagesBean.messageType,messagesBean.proxyPort,messagesBean.responderIP,messagesBean.responderPort,messagesBean.initiatorIP,messagesBean.initiatorPort,message.connection.id,messagesBean.dateFrom,messagesBean.dateTo,messagesBean.dicomAffectedSopClassUID,messagesBean.dicomCommandField)}"
 				value="#{message.connection.id}" />
 		</rich:column>
 
@@ -29,7 +29,7 @@
 				<h:outputText value="Index" />
 			</f:facet>
 			<a4j:htmlCommandLink
-				action="#{messagesBean.setConnectionId(message.connection.id)}"
+				action="#{messagesBean.redirectToMessages(messagesBean.messageType,messagesBean.proxyPort,messagesBean.responderIP,messagesBean.responderPort,messagesBean.initiatorIP,messagesBean.initiatorPort,message.connection.id,messagesBean.dateFrom,messagesBean.dateTo,messagesBean.dicomAffectedSopClassUID,messagesBean.dicomCommandField)}"
 				value="#{messageBean.getMessageIndex(message)}" />
 		</rich:column>
 
@@ -79,9 +79,9 @@
 			</f:facet>
 
 			<a4j:htmlCommandLink
-				action="#{messagesBean.setInitiatorIP(message.fromIP)}"
+				action="#{messagesBean.redirectToMessages(messagesBean.messageType,messagesBean.proxyPort,messagesBean.responderIP,messagesBean.responderPort,message.fromIP,messagesBean.initiatorPort,messagesBean.connectionId,messagesBean.dateFrom,messagesBean.dateTo,messagesBean.dicomAffectedSopClassUID,messagesBean.dicomCommandField)}"
 				value="#{message.fromIP}" />:<a4j:htmlCommandLink
-				action="#{messagesBean.setInitiatorPort(message.localPort)}"
+				action="#{messagesBean.redirectToMessages(messagesBean.messageType,messagesBean.proxyPort,messagesBean.responderIP,messagesBean.responderPort,messagesBean.initiatorIP,message.localPort,messagesBean.connectionId,messagesBean.dateFrom,messagesBean.dateTo,messagesBean.dicomAffectedSopClassUID,messagesBean.dicomCommandField)}"
 				value="#{message.localPort}" />
 
 		</rich:column>
@@ -94,9 +94,9 @@
 			</f:facet>
 
 			<a4j:htmlCommandLink
-				action="#{messagesBean.setResponderIP(message.toIP)}"
+				action="#{messagesBean.redirectToMessages(messagesBean.messageType,messagesBean.proxyPort,message.toIP,messagesBean.responderPort,messagesBean.initiatorIP,messagesBean.initiatorPort,messagesBean.connectionId,messagesBean.dateFrom,messagesBean.dateTo,messagesBean.dicomAffectedSopClassUID,messagesBean.dicomCommandField)}"
 				value="#{message.toIP}" />:<a4j:htmlCommandLink
-				action="#{messagesBean.setResponderPort(message.remotePort)}"
+				action="#{messagesBean.redirectToMessages(messagesBean.messageType,messagesBean.proxyPort,messagesBean.responderIP,message.remotePort,messagesBean.initiatorIP,messagesBean.initiatorPort,messagesBean.connectionId,messagesBean.dateFrom,messagesBean.dateTo,messagesBean.dicomAffectedSopClassUID,messagesBean.dicomCommandField)}"
 				value="#{message.remotePort}" />
 
 		</rich:column>
@@ -107,7 +107,7 @@
 				<h:outputText value="#{messages['net.ihe.gazelle.proxy.Proxy']}" />
 			</f:facet>
 			<a4j:htmlCommandLink
-				action="#{messagesBean.setProxyPort(message.proxyPort)}"
+				action="#{messagesBean.redirectToMessages(messagesBean.messageType,message.proxyPort,messagesBean.responderIP,messagesBean.responderPort,messagesBean.initiatorIP,messagesBean.initiatorPort,messagesBean.connectionId,messagesBean.dateFrom,messagesBean.dateTo,messagesBean.dicomAffectedSopClassUID,messagesBean.dicomCommandField)}"
 				value="#{message.proxyPort}" />
 		</rich:column>
 
-- 
GitLab