Salome HOME
Fix for display knowledge description.
[tools/siman.git] / Workspace / Siman / WebContent / study / displayKnowledge.jsp
index 518ddbb025ec3410f4bf49fe06d632af04cedde0..22d02f7411100e066ba7207ca020ee4005de415e 100644 (file)
@@ -1,12 +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>
-
 <!-- 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>
 
@@ -79,6 +81,3 @@
         </div>
       </div>
       </s:if>
-
-  </body>
-</html>
\ No newline at end of file