Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 4e790e6c authored by Gabriel Landais's avatar Gabriel Landais
Browse files

Better message UI for Dicom

git-svn-id: https://scm.gforge.inria.fr/authscm/ycadoret/svn/gazelle/Maven/gazelle-proxy/trunk@20801 356b4b1a-1d2b-0410-8bf1-ffa24008f01e
parent d75e813e
No related branches found
No related tags found
No related merge requests found
...@@ -105,7 +105,11 @@ public abstract class AbstractMessage { ...@@ -105,7 +105,11 @@ public abstract class AbstractMessage {
} }
public int getMessageLength() { public int getMessageLength() {
return messageReceived.length; if (messageReceived == null) {
return 0;
} else {
return messageReceived.length;
}
} }
public void setMessageReceivedAsString(String messageReceived) { public void setMessageReceivedAsString(String messageReceived) {
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<h:outputText value="#{messageBean.message.fileTransfertSyntax}" /> <h:outputText value="#{messageBean.message.fileTransfertSyntax}" />
<h:outputText value="Attributes :" style="font-weight:bold;" /> <h:outputText value="Attributes :" style="font-weight:bold;" />
<h:outputText <h:outputText style="font-family: monospace;" escape="false"
value="#{messageBean.escape(messageBean.message.getAttributesForCommandSetAsString())}" /> value="#{messageBean.escape(messageBean.message.getAttributesForCommandSetAsString())}" />
<h:outputText value="Affected SOP Class :" style="font-weight:bold;" /> <h:outputText value="Affected SOP Class :" style="font-weight:bold;" />
......
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
<dependency> <dependency>
<groupId>net.ihe.gazelle.simulators.tls</groupId> <groupId>net.ihe.gazelle.simulators.tls</groupId>
<artifactId>TLSSimulator-pki-jar</artifactId> <artifactId>TLSSimulator-pki-jar</artifactId>
<version>1.2-SNAPSHOT</version> <version>1.2</version>
<type>jar</type> <type>jar</type>
</dependency> </dependency>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment