org.apache.tiles.test.alt.defs.tiles-alt-velocity-defs.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="ISO-8859-1" ?> <!-- /* * $Id: tiles-alt-velocity-defs.xml 831448 2009-10-30 20:39:52Z 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. */ --> <!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 2.1//EN" "http://tiles.apache.org/dtds/tiles-config_2_1.dtd"> <tiles-definitions> <definition name="velocity.test.definition" template="/velocity/layout.vm"> <put-attribute name="title" value="This definition is from an alternate container."/> <put-attribute name="header" value="/velocity/header.vm"/> <put-attribute name="body" value="/velocity/body.vm"/> </definition> <definition name="velocity.test.definition.alt" template="/velocity/layout.vm"> <put-attribute name="title" value="This definition is from an alternate container."/> <put-attribute name="header" value="/velocity/header.vm"/> <put-attribute name="body" value="/org/apache/tiles/test/alt/velocity/body.vm"/> </definition> <definition name="WILDCARD:velocity.test.definition*.message*" template="/velocity/layout{1}.vm"> <put-attribute name="title" value="This definition has a message: {2}."/> <put-attribute name="header" value="/velocity/header.vm"/> <put-attribute name="body" value="/velocity/body.vm"/> </definition> <definition name="REGEXP:velocity\.test\.regexp\.definition(.*)\.message(.*)" template="/velocity/layout{1}.vm"> <put-attribute name="title" value="This definition has a message: {2}."/> <put-attribute name="header" value="/velocity/header.vm"/> <put-attribute name="body" value="/velocity/body.vm"/> </definition> </tiles-definitions>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy