home *** CD-ROM | disk | FTP | other *** search
- <%@ page
- import="com.websina.bean.*,com.websina.util.*,com.websina.util.log.Log"
- %>
- <html>
- <head>
- <title>Edit and View</title>
- <script LANGUAGE="JavaScript" src="script/attachment.js"></script>
- </head>
- <body topmargin=0>
- <%@ include file="_header.jspf" %>
- <%
- String issueStr = request.getParameter("entryId");
- int entryId = 0;
- try {
- entryId = StringUtil.toInt(issueStr);
- } catch (NumberFormatException e) {
- String msg = MessageCode.get("number.format_error_issue");
- msg = StringUtil.replace(msg, issueStr);
- out.print("<center><font color=red><b>");
- out.print(msg);
- out.print("</b></font></center>");
- return;
- }
- if (!person.viewAllowed(entryId)) {
- String msg = MessageCode.get("servlet.issue.permission_error");
- out.print("<center><font color=red><b>");
- out.print(msg);
- out.print("</b></font></center>");
- return;
- }
- %>
-
- <% String msg = request.getParameter("msg");
- if (msg != null) { %>
- <center><font color=red><b><%=msg%></b></font></center>
- <% } %>
-
- <%@ include file="_issueform.jspf" %>
-
- <%@ include file="_trail.jspf" %>
-
- </body></html>
-