<%@ page language="java" pageEncoding="UTF-8"%> <%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki"%> <%@ page import="org.apache.wiki.*" %> <%@ page import="org.apache.wiki.ui.*" %> <%@ page import="org.apache.wiki.filters.*" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%-- This is a special editor component for JSPWiki preview storage. --%> <% WikiContext context = WikiContext.findContext( pageContext ); String usertext = (String)pageContext.getAttribute( EditorManager.ATTR_EDITEDTEXT, PageContext.REQUEST_SCOPE ); if( usertext == null ) usertext = ""; String action = "comment".equals(request.getParameter("action")) ? context.getURL(WikiContext.COMMENT,context.getName()) : context.getURL(WikiContext.EDIT,context.getName()); %>

<%-- Edit.jsp & Comment.jsp rely on these being found. So be careful, if you make changes. --%>