| <!--/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| ~ 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. |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/--> |
| <h2 data-script="${javax_script_filename}">${resource.resourceType}</h2> |
| <sly data-sly-include="h.html"/> <sly data-sly-include="w.html"/> |
| <sly data-sly-use.twoTemplates="two-templates.html" data-sly-call="${twoTemplates.two}"></sly> |
| <div class="inherited" data-sly-use.inheritedTemplates="templates.html" |
| data-sly-call="${inheritedTemplates.precompiled1Template @ name ='John Doe'}"></div> |
| <div class="inherited-relative" data-sly-use.inheritedTemplates="./templates.html" |
| data-sly-call="${inheritedTemplates.precompiled1Template @ name ='John Doe'}"></div> |
| <div class="absolute-path-1" |
| data-sly-use.absolutePathTemplates1="/org.apache.sling.scripting.examplebundle.precompiled.hello/1.0.0/templates.html" |
| data-sly-call="${absolutePathTemplates1.precompiled1Template @ name ='John Doe'}"></div> |
| <div class="absolute-path-2" |
| data-sly-use.absolutePathTemplates2="/apps/sling/scripting/examplebundle/hello/templates.html" |
| data-sly-call="${absolutePathTemplates2.exampledBundleAppsHello @ name = 'Jack Schitt'}"></div> |
| <div class="js-use" data-sly-use.js="use-script.js">${js}</div> |
| <div class="js-use-resource-type-repository" data-sly-use.jsrepo="use-script-repo.js">${jsrepo}</div> |