]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/Siman/WebContent/jsp/readComment.jsp
Salome HOME
Now the "Context type" input field is cleaned when the focus is inside the field...
[tools/siman.git] / Workspace / Siman / WebContent / jsp / readComment.jsp
1 <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
2     pageEncoding="ISO-8859-1"%>
3 <%@ taglib prefix="s" uri="/struts-tags"
4 %>
5
6 <script type="text/javascript"> _mouseOverContext = false; </script>
7  
8 <s:if test="%{comments != null && !comments.isEmpty()}">
9   <table width="100%" cellpadding="0" cellspacing="5" border="0" class="attribute">
10     <s:iterator var="current" value="comments">
11       <tbody id="comment_<s:property value='%{id}' />_tbody" >
12             <tr valign="top">
13             
14               <!-- Pop-up menu -->
15                 <td width="20" height="20" align="center">
16                   <s:if test="%{user.index == connectedUser.index}">
17                     <div id="popup<s:property value="%{id}"/>"
18                         style="position:absolute; display:none; top:0px; left:0px; z-index:10000;"
19                     onmouseover="javascript:_mouseOverContext=true;" onmouseout="javascript:_mouseOverContext=false;">
20                   <jsp:include page="/jsp/menupopup.jsp" />
21                 </div>
22                 <div class="editCommentIcon">
23                 <s:a href="popup%{id}">
24                   <img src="<s:url value="/skin/icon.ed.png"/>" width=14 height=14 border="none" title=""/>
25                 </s:a>
26                 </div>
27                   </s:if>
28                 </td>
29                 
30           <!-- The comment body -->
31                 <td>
32                   <s:date name="%{date}" format="dd.MM.yyyy" />,&nbsp;
33                   <div id="comment_<s:property value="%{id}"/>_title" style="display: inline">
34                        <s:property value="%{title}"/>
35                   </div>
36                   <br/>
37               <div id="comment_<s:property value="%{id}"/>_body" style="display: inline">
38                     <s:property value="%{text}" escapeHtml="false"/>
39               </div>
40               <br/>
41                   <s:text name="%{user.displayName}"/>
42                 </td>   
43             </tr>
44             <tr height="1" bgcolor="#AAAAAA"><td colspan="2"></td></tr>
45           </tbody>           
46     </s:iterator>
47   </table>
48 </s:if>