1 <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
2 pageEncoding="ISO-8859-1"
4 <%@ taglib prefix="s" uri="/struts-tags"
6 <%@ page import="org.splat.simer.OpenObject"%>
8 // On the contrary of Struts tags, the Java implementation allows the HTML contents of knowledge values to be displayed
9 String entitype = request.getParameter("entity"); // Study or Knowledge element
10 OpenObject object = (OpenObject)session.getAttribute(entitype + ".open");
11 String description = object.getDisplayedDescription();
13 <table cellpadding=0 cellspacing=0 border=0 class=text>
14 <% if (description != null) {
16 <td><%=description%></td>
19 %><tr height=2><td></td></tr>
21 <s:if test="%{writeAccess == 'true' && stepEnabled == 'true'}">
23 <img src="<s:url value="/skin/icon.add.png"/>" border="none" title="<s:text name="tooltip.adddescription"/>" />