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/01/14 15:51:37 UTC

svn commit: r734411 - in /tiles/framework/trunk/tiles-test/src/main/webapp: testput_el.jsp testput_el_singleeval.jsp

Author: apetrelli
Date: Wed Jan 14 06:51:20 2009
New Revision: 734411

URL: http://svn.apache.org/viewvc?rev=734411&view=rev
Log:
Security bug 1, part 2, I will change this log later when I've finished committing.

Modified:
    tiles/framework/trunk/tiles-test/src/main/webapp/testput_el.jsp
    tiles/framework/trunk/tiles-test/src/main/webapp/testput_el_singleeval.jsp

Modified: tiles/framework/trunk/tiles-test/src/main/webapp/testput_el.jsp
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test/src/main/webapp/testput_el.jsp?rev=734411&r1=734410&r2=734411&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-test/src/main/webapp/testput_el.jsp (original)
+++ tiles/framework/trunk/tiles-test/src/main/webapp/testput_el.jsp Wed Jan 14 06:51:20 2009
@@ -27,7 +27,7 @@
 
 <c:set var="bodyContent" value="Body Content defined by and el" />
 
-<tiles:insertTemplate template="/layout.jsp" preparer="org.apache.tiles.test.preparer.RequestSettingViewPreparer">
+<tiles:insertTemplate template="/layout.jsp">
   <tiles:putAttribute name="title"  value="This is the title." />
   <tiles:putAttribute name="header" value="/header.jsp" />
   <tiles:putAttribute name="body"   value="${bodyContent}" />

Modified: tiles/framework/trunk/tiles-test/src/main/webapp/testput_el_singleeval.jsp
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test/src/main/webapp/testput_el_singleeval.jsp?rev=734411&r1=734410&r2=734411&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-test/src/main/webapp/testput_el_singleeval.jsp (original)
+++ tiles/framework/trunk/tiles-test/src/main/webapp/testput_el_singleeval.jsp Wed Jan 14 06:51:20 2009
@@ -26,6 +26,7 @@
 <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
 
 <c:set var="doNotShowBody" value="${'${'}requestScope.doNotShow}" />
+<c:set var="doNotShow" scope="request" value="DO NOT SHOW!!!" />
 
 <tiles:insertTemplate template="/layout.jsp">
   <tiles:putAttribute name="title"  value="This is the title." />