jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mets...@apache.org
Subject svn commit: r1362572 - /incubator/jspwiki/trunk/src/org/apache/wiki/plugin/IfPlugin.java
Date Tue, 17 Jul 2012 17:10:48 GMT
Author: metskem
Date: Tue Jul 17 17:10:48 2012
New Revision: 1362572

URL: http://svn.apache.org/viewvc?rev=1362572&view=rev
Log:
JSPWIKI-736: updated IFPlugin documentation

Modified:
    incubator/jspwiki/trunk/src/org/apache/wiki/plugin/IfPlugin.java

Modified: incubator/jspwiki/trunk/src/org/apache/wiki/plugin/IfPlugin.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/org/apache/wiki/plugin/IfPlugin.java?rev=1362572&r1=1362571&r2=1362572&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/org/apache/wiki/plugin/IfPlugin.java (original)
+++ incubator/jspwiki/trunk/src/org/apache/wiki/plugin/IfPlugin.java Tue Jul 17 17:10:48 2012
@@ -32,8 +32,12 @@ import org.apache.wiki.WikiContext;
 import org.apache.wiki.WikiProvider;
 
 /**
- *  The IfPlugin allows parts of a WikiPage to be executed conditionally.
+ *  The IfPlugin allows parts of a WikiPage to be executed conditionally, and is intended
as a flexible way
+ *  of customizing a page depending on certain conditions. Do not use it as a security mechanism
to conditionally
+ *  hide content from users (use page ACLs for that).
+ *  
  *  You can also use shorthand "If" to run it.
+ *  
  *  Parameters:
  *  <ul>
  *    <li><b>group</b> - A "|" -separated list of group names.



Mime
View raw message