jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juanpa...@apache.org
Subject [04/16] jspwiki git commit: fix jsp compilation issues
Date Sun, 16 Jul 2017 11:54:49 GMT
fix jsp compilation issues


Project: http://git-wip-us.apache.org/repos/asf/jspwiki/repo
Commit: http://git-wip-us.apache.org/repos/asf/jspwiki/commit/87908eaf
Tree: http://git-wip-us.apache.org/repos/asf/jspwiki/tree/87908eaf
Diff: http://git-wip-us.apache.org/repos/asf/jspwiki/diff/87908eaf

Branch: refs/heads/master
Commit: 87908eaf1e24451e32c89dfc2b3b678af14591ef
Parents: 7374d9c
Author: juanpablo <juanpablo@apache.org>
Authored: Tue May 2 19:09:20 2017 +0200
Committer: juanpablo <juanpablo@apache.org>
Committed: Sun Jul 16 13:26:31 2017 +0200

----------------------------------------------------------------------
 jspwiki-war/src/main/webapp/XHRMarkup2Wysiwyg.jsp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jspwiki/blob/87908eaf/jspwiki-war/src/main/webapp/XHRMarkup2Wysiwyg.jsp
----------------------------------------------------------------------
diff --git a/jspwiki-war/src/main/webapp/XHRMarkup2Wysiwyg.jsp b/jspwiki-war/src/main/webapp/XHRMarkup2Wysiwyg.jsp
index f9bdf54..293bb45 100644
--- a/jspwiki-war/src/main/webapp/XHRMarkup2Wysiwyg.jsp
+++ b/jspwiki-war/src/main/webapp/XHRMarkup2Wysiwyg.jsp
@@ -18,6 +18,7 @@
 --%>
 
 <%@ page language="java" pageEncoding="UTF-8"%>
+<%@ page import="java.util.Properties" %>
 <%@ page import="org.apache.log4j.*" %>
 <%@ page import="org.apache.wiki.*" %>
 <%@ page import="org.apache.wiki.render.*" %>
@@ -75,8 +76,8 @@
 
    // Disable the WYSIWYG_EDITOR_MODE and reset the other properties immediately
    // after the XHTML for wysiwyg editor has been rendered.
-   context.setVariable( RenderingManager.WYSIWYG_EDITOR_MODE, Boolean.FALSE );
-   context.setVariable( WikiEngine.PROP_RUNFILTERS,  null );
+   wikiContext.setVariable( RenderingManager.WYSIWYG_EDITOR_MODE, Boolean.FALSE );
+   wikiContext.setVariable( WikiEngine.PROP_RUNFILTERS,  null );
 
 
 %><%= pageAsHtml %><%


Mime
View raw message