Salome HOME
Fix for display knowledge description.
[tools/siman.git] / Workspace / Siman / WebContent / study / displayKnowledge.jsp
index b61bf2b110d7e1a5693d1f1804823316bcf2e91f..22d02f7411100e066ba7207ca020ee4005de415e 100644 (file)
@@ -1,40 +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>
-
-  <head>
-    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
-    <title><s:text name="name.module"/></title>
-    <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css">
-  </head>
-
-  <body>
-<!-- Menu-bar
-     =============================================================================================================================
-  -->
-    <jsp:include page="/jsp/menubar.jsp" />
-
-<!-- Title-bar
-     =============================================================================================================================
-  -->
-    <jsp:include page="/jsp/titlebar.jsp" />
-
-<!-- Left pane
-     =============================================================================================================================
-  -->
-    <div id=left-pane>
-      <jsp:include page="/jsp/toolbar.jsp" />
-      <div id=top-spacer></div>
-      <jsp:include page="/jsp/menuitem.jsp" />
-      <jsp:include page="/jsp/knowledgeProperties.jsp" />
-    </div>
-
-    <div id=main-pane>
-
+<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
+<%@ taglib prefix="s" uri="/struts-tags"%>
 <!-- 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                  -->
         </div>
       </div>
       </s:if>
-    </div>
-
-  </body>
-</html>
\ No newline at end of file