Salome HOME
Fix for display knowledge description.
[tools/siman.git] / Workspace / Siman / WebContent / study / displayKnowledge.jsp
index bf7a6a11e00d463d56dc5d9a43ee82d846c4e1a9..22d02f7411100e066ba7207ca020ee4005de415e 100644 (file)
@@ -1,14 +1,5 @@
 <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
 <%@ taglib prefix="s" uri="/struts-tags"%>
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-
-  <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css">
-
-  <body>
-
-    <div id=main-pane>
-
 <!-- Description and simulation context sections
      =============================================================================================================================
 
           <td width=38%>     <!-- Must conform to the width of above tab-description -->
             <div id="top-spacer"></div>
             <div id=article-body class=text>
-              <jsp:include page="/jsp/readDescription.jsp">
-                <jsp:param name="entity" value="knowledge" />
-              </jsp:include>
+                         <div id="description_div">
+                           <table width="100%" cellpadding="0" cellspacing="0" border="0" class="attribute">
+                             <tr valign="top">
+                             <td>
+                               <div id="description_value_div">
+                                 <s:property value="knelm.displayedDescription" escapeHtml="false"/>
+                               </div>
+                               &nbsp;
+                             </td>
+                           </tr> 
+                         </table>  
+                         </div>
             </div>
           </td>
 
 <!--      Separator                            -->
+                 <td width=1></td>    <!-- Trick for aligning the vertical separator with the tab -->
           <td width=1 bgcolor=#AAAAAA></td>
 
 <!--      Simulation contexts                  -->
@@ -80,7 +81,3 @@
         </div>
       </div>
       </s:if>
-    </div>
-
-  </body>
-</html>
\ No newline at end of file