You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tiles.apache.org by ap...@apache.org on 2009/04/14 23:49:24 UTC
svn commit: r764972 -
/tiles/framework/trunk/tiles-velocity/src/main/java/org/apache/tiles/velocity/template/PutAttributeVModel.java
Author: apetrelli
Date: Tue Apr 14 21:49:24 2009
New Revision: 764972
URL: http://svn.apache.org/viewvc?rev=764972&view=rev
Log:
TILES-397
Now the "cascade" parameter is got correctly.
Modified:
tiles/framework/trunk/tiles-velocity/src/main/java/org/apache/tiles/velocity/template/PutAttributeVModel.java
Modified: tiles/framework/trunk/tiles-velocity/src/main/java/org/apache/tiles/velocity/template/PutAttributeVModel.java
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-velocity/src/main/java/org/apache/tiles/velocity/template/PutAttributeVModel.java?rev=764972&r1=764971&r2=764972&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-velocity/src/main/java/org/apache/tiles/velocity/template/PutAttributeVModel.java (original)
+++ tiles/framework/trunk/tiles-velocity/src/main/java/org/apache/tiles/velocity/template/PutAttributeVModel.java Tue Apr 14 21:49:24 2009
@@ -92,7 +92,7 @@
model.end(ServletUtil.getCurrentContainer(request, servletContext), ServletUtil.getComposeStack(request),
(String) params.get("name"), params.get("value"),
(String) params.get("expression"), null, (String) params.get("role"),
- (String) params.get("type"), VelocityUtil.toSimpleBoolean((Boolean) params.get("value"), false),
+ (String) params.get("type"), VelocityUtil.toSimpleBoolean((Boolean) params.get("cascade"), false),
velocityContext, request, response);
return VelocityUtil.EMPTY_RENDERABLE;
}