You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by tm...@apache.org on 2006/06/14 16:00:55 UTC
svn commit: r414256 -
/struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/GenericUIBean.java
Author: tmjee
Date: Wed Jun 14 07:00:54 2006
New Revision: 414256
URL: http://svn.apache.org/viewvc?rev=414256&view=rev
Log:
- corrected snippet that uses velocity wrongly
Modified:
struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/GenericUIBean.java
Modified: struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/GenericUIBean.java
URL: http://svn.apache.org/viewvc/struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/GenericUIBean.java?rev=414256&r1=414255&r2=414256&view=diff
==============================================================================
--- struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/GenericUIBean.java (original)
+++ struts/action2/trunk/core/src/main/java/org/apache/struts/action2/components/GenericUIBean.java Wed Jun 14 07:00:54 2006
@@ -56,13 +56,13 @@
* </a:component>
*
* Velocity
- * #tag( Component "template=/my/custom/component.vm" )
+ * #safcomponent( "template=/my/custom/component.vm" )
*
* or
*
- * #bodytag( Component "template=/my/custom/component.vm" )
- * #param( "key1" "value1" )
- * #param( "key2" "value2" )
+ * #safcomponent( "template=/my/custom/component.vm" )
+ * #safparam( "name=key1" "value=value1" )
+ * #safparam( "name=key2" "value=value2" )
* #end
*
* Freemarker