File: tiles-defs.xml

package info (click to toggle)
libstruts1.2-java 1.2.9-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 47,516 kB
  • ctags: 29,430
  • sloc: xml: 90,344; java: 71,078; jsp: 31,692; makefile: 10; sh: 2
file content (115 lines) | stat: -rw-r--r-- 4,561 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?xml version="1.0" encoding="ISO-8859-1" ?>

 <!DOCTYPE tiles-definitions PUBLIC
       "-//Apache Software Foundation//DTD Tiles Configuration 1.1//EN"
       "http://struts.apache.org/dtds/tiles-config_1_1.dtd">

<!-- 
  Definitions for Tiles
  This file contains definitions common to all Struts modules.
  In particular, it contains the main layout and the common menus.
  There is also the main page as a portal.
-->

<tiles-definitions>

  <!-- =======================================================  -->
  <!-- Master definition  									-->
  <!-- =======================================================  -->

  <!-- Doc index page description  -->
  <definition name="doc.mainLayout" path="/layout/classicLayout.jsp">
	  <put name="title"  value="Tiles Library Documentation" />
	  <put name="header" value="/common/header.jsp" />
	  <put name="menu"   value="doc.menu.main" />
	  <put name="footer" value="/common/footer.jsp" />
	  <put name="body"   value="doc.portal.body" />
  </definition>

  <!-- =======================================================  -->
  <!-- Main page body definitions  									-->
  <!-- =======================================================  -->

  <definition name="doc.portal.body" path="/layout/columnsLayout.jsp">
    <put name="numCols" value="2" />
    <putList name="list0" >
      <add value="/doc/portal/welcome.jsp" />
      <add value="/doc/portal/features.jsp" />
      <!--<add value="/doc/portal/todo.jsp" /> -->
      <add value="/doc/portal/documentation.jsp" />
    </putList>
    <putList name="list1" >
      <add value="/doc/portal/news.jsp" />
      <add value="/doc/portal/download.jsp" />
      <add value="/doc/portal/tilesCompsTemplates.jsp" />
      <add value="/doc/portal/strutsIntegration.jsp" />
      <add value="/doc/portal/comments.jsp" />
      <add value="/doc/portal/revisions.jsp" />
    </putList>
  </definition>
  
  <!-- =======================================================  -->
  <!-- Menus definitions  									-->
  <!-- =======================================================  -->

  <!-- Menu bar definition -->
<definition name="doc.menu.main" path="/layouts/vboxLayout.jsp" >
  <putList name="list" >
    <add value="common.menu.home" />
    <add value="common.menu.examples" />
    <add value="common.menu.doc" />
    <!-- <add value="common.menu.printer.friendly" /> -->
  </putList>
</definition>

  <!-- The home menu definition -->
<definition name="common.menu.home" path="/layouts/menu.jsp" >
  <put name="title" value="Tiles" />
  <putList name="items" >
    <item value="Tiles Home"     link="/index.jsp" />
  </putList>
</definition>

  <!-- Printer friendly menu definition -->
<definition name="common.menu.examples" path="/layouts/menu.jsp" >
  <put name="title" value="Examples" />
  <putList name="items" >
    <item value="Home"     link="/examples/index.jsp" />
  </putList>
</definition>

  <!-- Documentation menu definition v1.1-->
<definition name="common.menu.doc" path="/layouts/menu.jsp" >
  <put name="title" value="Documentation" />
    <putList name="items" >
      <item value="Home"           link="/doc/index.jsp"  />
      <item value="Live Examples"  link="/examples/index.jsp"  />
      <item value="Quick overview" link="/test/quickOverview.jsp"  />
      <!--
      <item value="Tutorial"              link="/doc/tutorial.jsp"  />
      -->
      <item value="Tutorial Live Examples" link="/tutorial/index.jsp" />
	  <!--
      <item value="Tiles Tags"     link="/doc/tilesTags.jsp" />
      <item value="Download"       link="/doc/download.jsp" />
      <item value="Installation"   link="/doc/installation.jsp" />
      <item value="User Guide"	   link="/doc/userGuide.jsp" />
      <item value="Javadoc"        link="/api/index.html" />
      <item value="Struts Home"            link="http://www.apache.org"
            icon="/images/struts-power.gif" />
	  -->
    </putList>
</definition>

  <!-- Printer friendly menu definition -->
<definition name="common.menu.printer.friendly" path="/layouts/menu.jsp" >
  <put name="title" value="Printer Versions" />
  <putList name="items" >
    <item value="Quick Overview"     link="/test/testAll.jsp" />
    <item value="Tutorial"           link="/doc/tutorialBody.html" />
    <item value="User Guide"         link="/doc/userGuideBody.html" />
    <item value="Overview (old)"  	 link="/doc/overviewBody.html" />
  </putList>
</definition>

</tiles-definitions>