View File | Revision Log | Show Annotations | Download File | View Changeset
/hippo/hippo-cms7/site-toolkit/branches/hst-2.20.xx/demosuite/content/src/main/resources/hstconfiguration/democommon/templates.xml
Revision: 27645
Committed: Wed Apr 6 09:52:50 2011 UTC (9 years, 5 months ago) by aschrijvers
Content type: text/plain
File size: 11002 byte(s)
Log Message:
HSTTWO-1559 remove old config

File Contents

# Content
1 <?xml version="1.0" encoding="UTF-8"?><!--
2
3 Copyright (C) 2010 Hippo B.V.
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16
17 -->
18 <sv:node sv:name="hst:templates" xmlns:sv="http://www.jcp.org/jcr/sv/1.0">
19 <sv:property sv:name="jcr:primaryType" sv:type="Name">
20 <sv:value>hst:templates</sv:value>
21 </sv:property>
22 <sv:node sv:name="webpage">
23 <sv:property sv:name="jcr:primaryType" sv:type="Name">
24 <sv:value>hst:template</sv:value>
25 </sv:property>
26 <sv:property sv:name="hst:containers" sv:type="String">
27 <sv:value>header</sv:value>
28 <sv:value>body</sv:value>
29 </sv:property>
30 <sv:property sv:name="hst:renderpath" sv:type="String">
31 <sv:value>jsp/templates/webpage.jsp</sv:value>
32 </sv:property>
33 </sv:node>
34 <sv:node sv:name="header">
35 <sv:property sv:name="jcr:primaryType" sv:type="Name">
36 <sv:value>hst:template</sv:value>
37 </sv:property>
38 <sv:property sv:name="hst:renderpath" sv:type="String">
39 <sv:value>jsp/components/header/header.jsp</sv:value>
40 </sv:property>
41 </sv:node>
42 <sv:node sv:name="footer">
43 <sv:property sv:name="jcr:primaryType" sv:type="Name">
44 <sv:value>hst:template</sv:value>
45 </sv:property>
46 <sv:property sv:name="hst:renderpath" sv:type="String">
47 <sv:value>jsp/components/footer/footer.jsp</sv:value>
48 </sv:property>
49 </sv:node>
50 <sv:node sv:name="datetime">
51 <sv:property sv:name="jcr:primaryType" sv:type="Name">
52 <sv:value>hst:template</sv:value>
53 </sv:property>
54 <sv:property sv:name="hst:renderpath" sv:type="String">
55 <sv:value>DateTimeServlet</sv:value>
56 </sv:property>
57 <sv:property sv:name="hst:isnamed" sv:type="Boolean">
58 <sv:value>true</sv:value>
59 </sv:property>
60 </sv:node>
61 <sv:node sv:name="threecolumnlayout">
62 <sv:property sv:name="jcr:primaryType" sv:type="Name">
63 <sv:value>hst:template</sv:value>
64 </sv:property>
65 <sv:property sv:name="hst:containers" sv:type="String">
66 <sv:value>content</sv:value>
67 </sv:property>
68 <sv:property sv:name="hst:renderpath" sv:type="String">
69 <sv:value>jsp/components/layout/threecolumnlayout.jsp</sv:value>
70 </sv:property>
71 </sv:node>
72 <sv:node sv:name="leftmenu">
73 <sv:property sv:name="jcr:primaryType" sv:type="Name">
74 <sv:value>hst:template</sv:value>
75 </sv:property>
76 <sv:property sv:name="hst:renderpath" sv:type="String">
77 <sv:value>jsp/components/main/leftmenu.jsp</sv:value>
78 </sv:property>
79 </sv:node>
80 <sv:node sv:name="right">
81 <sv:property sv:name="jcr:primaryType" sv:type="Name">
82 <sv:value>hst:template</sv:value>
83 </sv:property>
84 <sv:property sv:name="hst:renderpath" sv:type="String">
85 <sv:value>jsp/components/main/right.jsp</sv:value>
86 </sv:property>
87 </sv:node>
88 <sv:node sv:name="homepage.ftl">
89 <sv:property sv:name="jcr:primaryType" sv:type="Name">
90 <sv:value>hst:template</sv:value>
91 </sv:property>
92 <sv:property sv:name="hst:script" sv:type="String">
93 <sv:value>&lt;#assign
94 hst=JspTaglibs["http://www.hippoecm.org/jsp/hst/core"]&gt;
95 &lt;div class="yui-u"&gt; &lt;h1&gt;${document.title}&lt;/h1&gt;
96 &lt;p&gt;${document.summary}&lt;/p&gt; &lt;@hst.html
97 hippohtml=document.html/&gt; &lt;p&gt; &lt;/p&gt;
98 &lt;#if "${document.resource!}" != ""&gt;
99 &lt;@hst.link var="resource"
100 hippobean=document.resource /&gt; &lt;#if
101 "${resource!}" != ""&gt; &lt;a
102 href="${resource}"&gt;${document.resource.name}&lt;/a&gt;
103 &lt;/#if&gt; &lt;/#if&gt; &lt;div&gt; &lt;@hst.include ref="todolist"/&gt;
104 &lt;/div&gt; &lt;div class="bannersHome"&gt; &lt;@hst.include
105 ref="banners"/&gt; &lt;/div&gt; &lt;div class="bannersHome"&gt;
106 &lt;@hst.include ref="morebanners"/&gt; &lt;/div&gt; &lt;hr/&gt;
107 &lt;p&gt;Dummy Example REST links &lt;/p&gt; &lt;@hst.link
108 var="imageset" hippobean=image
109 mount="restapi-gallery" /&gt; &lt;@hst.link var="original"
110 hippobean=image subPath="original"
111 mount="restapi-gallery"/&gt; &lt;@hst.link var="thumbnail"
112 hippobean=image subPath="thumbnail"
113 mount="restapi-gallery"/&gt; &lt;p&gt; ImageSet : &lt;a
114 target="_blank"
115 href="${imageset}"&gt;${imageset}&lt;/a&gt;&lt;/p&gt; &lt;p&gt;
116 Thumbnail : &lt;a target="_blank"
117 href="${thumbnail}"&gt;${thumbnail}&lt;/a&gt;&lt;/p&gt;
118 &lt;p&gt; Original : &lt;a target="_blank"
119 href="${original}"&gt;${original}&lt;/a&gt;&lt;/p&gt;
120 &lt;br/&gt;
121 &lt;br/&gt;
122 &lt;div style="color:red"&gt;Note: this page is loaded by a repository freemarker template, see [/hst:hst/hst:configurations/democommon/hst:scripts/home.ftl] &lt;/div&gt;
123 &lt;p
124 style="height: 30em;"&gt; &lt;/p&gt; &lt;/div&gt;</sv:value>
125 </sv:property>
126 </sv:node>
127 <sv:node sv:name="homelayout">
128 <sv:property sv:name="jcr:primaryType" sv:type="Name">
129 <sv:value>hst:template</sv:value>
130 </sv:property>
131 <sv:property sv:name="hst:renderpath" sv:type="String">
132 <sv:value>jsp/components/layout/homelayout.jsp</sv:value>
133 </sv:property>
134 </sv:node>
135 <sv:node sv:name="archive">
136 <sv:property sv:name="jcr:primaryType" sv:type="Name">
137 <sv:value>hst:template</sv:value>
138 </sv:property>
139 <sv:property sv:name="hst:renderpath" sv:type="String">
140 <sv:value>jsp/components/main/archive.jsp</sv:value>
141 </sv:property>
142 </sv:node>
143 <sv:node sv:name="detailpage">
144 <sv:property sv:name="jcr:primaryType" sv:type="Name">
145 <sv:value>hst:template</sv:value>
146 </sv:property>
147 <sv:property sv:name="hst:renderpath" sv:type="String">
148 <!--
149 <sv:value>jsp/components/main/detailpage.jsp</sv:value>
150 -->
151 <sv:value>ftl/components/main/detailpage.ftl</sv:value>
152 </sv:property>
153 </sv:node>
154 <sv:node sv:name="rss">
155 <sv:property sv:name="jcr:primaryType" sv:type="Name">
156 <sv:value>hst:template</sv:value>
157 </sv:property>
158 <sv:property sv:name="hst:containers" sv:type="String"/>
159 <sv:property sv:name="hst:renderpath" sv:type="String">
160 <sv:value>jsp/templates/rss.jsp</sv:value>
161 </sv:property>
162 </sv:node>
163 <sv:node sv:name="searchresults">
164 <sv:property sv:name="jcr:primaryType" sv:type="Name">
165 <sv:value>hst:template</sv:value>
166 </sv:property>
167 <sv:property sv:name="hst:containers" sv:type="String"/>
168 <sv:property sv:name="hst:renderpath" sv:type="String">
169 <sv:value>jsp/components/main/search.jsp</sv:value>
170 </sv:property>
171 </sv:node>
172 <sv:node sv:name="todolist">
173 <sv:property sv:name="jcr:primaryType" sv:type="Name">
174 <sv:value>hst:template</sv:value>
175 </sv:property>
176 <sv:property sv:name="hst:containers" sv:type="String"/>
177 <sv:property sv:name="hst:renderpath" sv:type="String">
178 <sv:value>jsp/components/main/todolist.jsp</sv:value>
179 </sv:property>
180 </sv:node>
181 <sv:node sv:name="bodyerror">
182 <sv:property sv:name="jcr:primaryType" sv:type="Name">
183 <sv:value>hst:template</sv:value>
184 </sv:property>
185 <sv:property sv:name="hst:containers" sv:type="String"/>
186 <sv:property sv:name="hst:renderpath" sv:type="String">
187 <sv:value>jsp/components/main/error.jsp</sv:value>
188 </sv:property>
189 </sv:node>
190 <sv:node sv:name="facetedaddproduct">
191 <sv:property sv:name="jcr:primaryType" sv:type="Name">
192 <sv:value>hst:template</sv:value>
193 </sv:property>
194 <sv:property sv:name="hst:renderpath" sv:type="String">
195 <sv:value>jsp/components/main/facetedaddproduct.jsp</sv:value>
196 </sv:property>
197 </sv:node>
198 <sv:node sv:name="faceted">
199 <sv:property sv:name="jcr:primaryType" sv:type="Name">
200 <sv:value>hst:template</sv:value>
201 </sv:property>
202 <sv:property sv:name="hst:renderpath" sv:type="String">
203 <sv:value>jsp/components/main/faceted.jsp</sv:value>
204 </sv:property>
205 </sv:node>
206 <sv:node sv:name="facetedright">
207 <sv:property sv:name="jcr:primaryType" sv:type="Name">
208 <sv:value>hst:template</sv:value>
209 </sv:property>
210 <sv:property sv:name="hst:renderpath" sv:type="String">
211 <sv:value>jsp/components/main/facetedright.jsp</sv:value>
212 </sv:property>
213 </sv:node>
214 <sv:node sv:name="facetedproductpage">
215 <sv:property sv:name="jcr:primaryType" sv:type="Name">
216 <sv:value>hst:template</sv:value>
217 </sv:property>
218 <sv:property sv:name="hst:renderpath" sv:type="String">
219 <sv:value>jsp/components/main/facetedproductpage.jsp</sv:value>
220 </sv:property>
221 </sv:node>
222 <sv:node sv:name="productpage">
223 <sv:property sv:name="jcr:primaryType" sv:type="Name">
224 <sv:value>hst:template</sv:value>
225 </sv:property>
226 <sv:property sv:name="hst:renderpath" sv:type="String">
227 <sv:value>jsp/components/main/productpage.jsp</sv:value>
228 </sv:property>
229 </sv:node>
230 <sv:node sv:name="formpage">
231 <sv:property sv:name="jcr:primaryType" sv:type="Name">
232 <sv:value>hst:template</sv:value>
233 </sv:property>
234 <sv:property sv:name="hst:renderpath" sv:type="String">
235 <sv:value>jsp/components/main/formpage.jsp</sv:value>
236 </sv:property>
237 </sv:node>
238 <sv:node sv:name="contactspring">
239 <sv:property sv:name="jcr:primaryType" sv:type="Name">
240 <sv:value>hst:template</sv:value>
241 </sv:property>
242 <sv:property sv:name="hst:renderpath" sv:type="String">
243 <sv:value>/spring/contactspring.do</sv:value>
244 </sv:property>
245 </sv:node>
246 <sv:node sv:name="contactspringmvc">
247 <sv:property sv:name="jcr:primaryType" sv:type="Name">
248 <sv:value>hst:template</sv:value>
249 </sv:property>
250 <sv:property sv:name="hst:renderpath" sv:type="String">
251 <sv:value>/spring/contactspringmvc.do</sv:value>
252 </sv:property>
253 </sv:node>
254 <sv:node sv:name="thankyou">
255 <sv:property sv:name="jcr:primaryType" sv:type="Name">
256 <sv:value>hst:template</sv:value>
257 </sv:property>
258 <sv:property sv:name="hst:renderpath" sv:type="String">
259 <sv:value>jsp/components/main/thankyou.jsp</sv:value>
260 </sv:property>
261 </sv:node>
262 <sv:node sv:name="banner">
263 <sv:property sv:name="jcr:primaryType" sv:type="Name">
264 <sv:value>hst:template</sv:value>
265 </sv:property>
266 <sv:property sv:name="hst:renderpath" sv:type="String">
267 <sv:value>jsp/components/main/banner.jsp</sv:value>
268 </sv:property>
269 </sv:node>
270 </sv:node>

Properties

Name Value
svn:eol-style native
svn:keywords Id
svn:mime-type text/plain