Author: ddewolf Date: Wed Nov 22 09:23:04 2006 New Revision: 478247 URL: http://svn.apache.org/viewvc?view=rev&rev=478247 Log: Adding el tag tests
Added: struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testput_el.jsp (with props) Modified: struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/index.jsp Modified: struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/index.jsp URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/index.jsp?view=diff&rev=478247&r1=478246&r2=478247 ============================================================================== --- struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/index.jsp (original) +++ struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/index.jsp Wed Nov 22 09:23:04 2006 @@ -40,6 +40,7 @@ <a href="testinsertdefinition_inline.jsp">Test Insert Configured Definition with an inline content</a><br/> <a href="testinsertdefinition_composite.jsp">Test Insert Configured Definition that contains another definition inside</a><br/> <a href="testput.jsp">Test Put Tag</a><br/> + <a href="testput_el.jsp">Test Put Tag using EL</a><br/> <a href="testput_servlet.jsp">Test Put Tag using a servlet mapping as a template</a><br/> <a href="testimportattribute.jsp">Test importAttribute Tag</a><br/> <a href="testimportattribute_all.jsp">Test importAttribute Tag with no name</a><br/> Added: struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testput_el.jsp URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testput_el.jsp?view=auto&rev=478247 ============================================================================== --- struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testput_el.jsp (added) +++ struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testput_el.jsp Wed Nov 22 09:23:04 2006 @@ -0,0 +1,33 @@ +<%-- +/* + * $Id$ + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + */ +--%> +<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> +<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %> + +<c:set var="bodyContent" value="Body Content defined by and el" /> + +<tiles:insertTemplate template="/layout.jsp"> + <tiles:put name="title" value="This is the title." /> + <tiles:put name="header" value="/header.jsp" /> + <tiles:put name="body" value="${bodyContent}" /> +</tiles:insertTemplate> \ No newline at end of file Propchange: struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testput_el.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testput_el.jsp ------------------------------------------------------------------------------ svn:keywords = Id Author Date Rev