jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dvit...@apache.org
Subject svn commit: r1656016 - /jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/plugin/SampleAjaxPlugin.java
Date Fri, 30 Jan 2015 13:55:53 GMT
Author: dvittor
Date: Fri Jan 30 13:55:53 2015
New Revision: 1656016

URL: http://svn.apache.org/r1656016
Log:
Reverting info code form SampleAjaxPlugin

Modified:
    jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/plugin/SampleAjaxPlugin.java

Modified: jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/plugin/SampleAjaxPlugin.java
URL: http://svn.apache.org/viewvc/jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/plugin/SampleAjaxPlugin.java?rev=1656016&r1=1656015&r2=1656016&view=diff
==============================================================================
--- jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/plugin/SampleAjaxPlugin.java (original)
+++ jspwiki/trunk/jspwiki-war/src/main/java/org/apache/wiki/plugin/SampleAjaxPlugin.java Fri
Jan 30 13:55:53 2015
@@ -30,7 +30,6 @@ import org.apache.wiki.WikiContext;
 import org.apache.wiki.ajax.WikiAjaxServlet;
 import org.apache.wiki.api.exceptions.PluginException;
 import org.apache.wiki.api.plugin.WikiPlugin;
-import org.apache.wiki.plugin.DefaultPluginManager.WikiPluginInfo;
 
 /**
  * @since 2.10.2-svn10
@@ -41,8 +40,6 @@ public class SampleAjaxPlugin implements
 
 	@Override
     public String execute(WikiContext context, Map<String, String> params) throws PluginException
{
-		WikiPluginInfo info = context.getEngine().getPluginManager().getModuleInfo(this.getClass().getName());
-		System.out.println("info="+info);
     	String id = Integer.toString(this.hashCode());
         String html= "<div onclick='Wiki.ajaxHtmlCall(\"/"+SERVLET_MAPPING+"/ajaxAction\",[12,45],\"result"+id+"\",\"Loading...\")'
style='color: blue; cursor: pointer'>Press Me</div>\n"+
                         "<div id='result"+id+"'></div>";



Mime
View raw message