This page describes how to add a button to launch Weasis from the dcm4chee web interface.
Integrate Weasis into dcm4chee 2.15.0 in 5 minutes
- Place the dcm4chee-web.war, weasis.war and weasis-i18n.war into the deploy folder of dcm4chee.
- Modify the permission in /dcm4jboss-web/src/etc/conf/dcm4chee-web/folder.permissions or in server/default/conf/dcm4chee-web if dcm4chee is already installed
folder.*=edit,move,delete,view,*export,edit.newStudyUID,mergepat,study_permission,study_permission.free_role_action,query_has_issuer folder.*export=export_tf,export_xds
...
folder=WebUser(send,view);DatacareUser(edit,move,delete,export_xds,view);WebAdmin(*)
Build dcm4chee-web 2.15.0
Prerequisites
- Subversion (SVN), one of the following client:
- Subversion - The core system (server, client, libs)
- Subversive - SVN Team Client (Eclipse plugin)
- TortoiseSVN - Handy SVN client for Windows systems
- JDK 5 or higher (Sun or OpenJDK)
- Ant 1.6 or higher
Getting the Source
To check out the code, first install Subversion and either checkout the trunk branch using a graphical Subversion client (such as TortoiseSVN) or directly from the command line using the command:
...
Note: Sources can also be browsed online
Building dcm4chee-web.war
- Go in the weasis-dcm4chee directory
...
- add after <xsl:if test="$folder.delete='true'"> ... </xsl:if>
Code Block | ||||
---|---|---|---|---|
| ||||
<xsl:if test="$folder.view='true'">
<td width="40">
<input type="image" value="View" name="view" src="images/view.gif"
alt="view" border="0" title="&ViewSelectedEntities;"
onclick="return confirm('&ViewSelectedEntities;?')">
<xsl:if test="total <= 0">
<xsl:attribute name="disabled">disabled </xsl:attribute>
</xsl:if>
</input>
</td>
</xsl:if>
|
...