Author: apetrelli
Date: Fri Feb 27 13:15:17 2009
New Revision: 748505
URL: http://svn.apache.org/viewvc?rev=748505&view=rev
Log:
TILESSB-8
Added first test.
Added "tools.xml" to let Velocity work.
Added:
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/tools.xml
(with props)
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/velocity/
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/velocity/testinsertdefinition.vm
Added: tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/tools.xml
URL:
http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/tools.xml?rev=748505&view=auto
==============================================================================
--- tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/tools.xml
(added)
+++ tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/tools.xml
Fri Feb 27 13:15:17 2009
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<!--
+ 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.
+-->
+<tools>
+</tools>
Propchange:
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/tools.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/WEB-INF/tools.xml
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added:
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/velocity/testinsertdefinition.vm
URL:
http://svn.apache.org/viewvc/tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/velocity/testinsertdefinition.vm?rev=748505&view=auto
==============================================================================
---
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/velocity/testinsertdefinition.vm
(added)
+++
tiles/sandbox/trunk/tiles-test-sandbox/src/main/webapp/velocity/testinsertdefinition.vm
Fri Feb 27 13:15:17 2009
@@ -0,0 +1,24 @@
+#*
+ * $Id: testinsertdefinition.ftl 742115 2009-02-08 14:57:41Z apetrelli $
+ *
+ * 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.
+ *
+ *#
+<div>Will it appear on top?</div>
+$tiles.insertDefinition({"name" : "freemarker.test.definition"})
+<div>Will it appear on bottom?</div>