actually i cannot give the link because it is inside a reserved area for (that)system administrators.
i can paste the code of the jsp hoping it helps:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ include file="/inc/init.jsp" %>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it">
<head>
<script language="JavaScript" type="text/javascript" src="richtext_compressed.js"></script>
<script language='JavaScript' src="/gest_ag_ut/JS/agenzie.js"></script>
<title>Note per <c:out value='${requestScope.codice}'/></title>
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
</head>
<body bgcolor="#E5EDBA">
<table width="100%" align="center">
<tr><td>
<form name="form_editnote" action="/gest_ag_ut/Note" method="POST" onsubmit="return submitForm();">
<script language="JavaScript" type="text/javascript">
function submitForm() {
//make sure hidden and iframe values are in sync before submitting form
//to sync only 1 rte, use updateRTE(rte)
//to sync all rtes, use updateRTEs
updateRTE('note');
//updateRTEs();
//alert("note = " + document.RTEDemo.rte1.value);
//change the following line to true to submit form
return true;
}
//Usage: initRTE(imagesPath, includesPath, cssFile)
initRTE("images/", "", "rte.css");
//
</script>
<input type="hidden" name="richiesta" value="salva">
<input type="hidden" name="codice" value="<c:out value='${requestScope.codice}'/>">
<script language="JavaScript" type="text/javascript">
//Usage: writeRichText(fieldname, html, width, height, buttons, readOnly)
writeRichText('note', '<c:out value="${requestScope.note}"/>', 400, 450, true, false);
</script>
<input type="submit" name="submit" value="Salva">
</table>
<script language="JavaScript" type="text/javascript">
</script>
</form>
<c:if test="${requestScope.esito=='ERRORE'}">
<c:out value='${requestScope.esito}'/>: <c:out value='${requestScope.errore}'/>
</c:if>
<c:if test="${requestScope.esito=='ok'}">
<script language="JavaScript">
window.close();
</script>
</c:if>
</td></tr>
</table>
</body>
</html>
and in the jsp's directory i put insert_table.htm, palette.htm, blank.htm, rte.css, richtext_compressed.js .
thanks again,
tool
Bookmarks