Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This page describes how to add a button to launch Weasis from the dcm4chee web interface.

Build dcm4chee-web 2.15.0

Prerequisites

  1. Subversion (SVN), one of the following client:
    • Subversion - The core system (server, cli client, libs)
    • Subversive - SVN Team Client (Eclipse plugin)
    • TortoiseSVN - Handy SVN client for Windows systems
  2. JDK 5 or higher ( Sun or  OpenJDK)
  3. 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

...

  • Place the dcm4chee-web.war and the weasis.war to the deploy folder of dcm4chee

Rebuild dcm4chee-web from any version (Draft)

1. Make a project to rebuild dcm4chee-web

...

  • add after <xsl:if test="$folder.delete='true'"> ... </xsl:if>

                     <xsl:if test="$folder.view="'true'">
<td                             <td width="40">
<input                                 <input type="image" value="View" name="view" src="images/view.gif" alt
                                    alt="view" border="0" title="&ViewSelectedEntities;"
onclick                                     onclick="return confirm('&ViewSelectedEntities;?')">
<xsl                                     <xsl:if test="total <= 0">
<xsl                                         <xsl:attribute name="disabled">disabled<>disabled </xsl:attribute>
<                                     </xsl:if>
<                                 </input>
</td><                             </td>
                        </xsl:if>

5. Rebuild WAR with "ant dist" and get dcm4chee-web.war in dist folder

...