File: jibx-template.vm

package info (click to toggle)
libjibx1.2-java 1.2.6-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 26,260 kB
  • sloc: java: 75,013; xml: 14,068; makefile: 17
file content (146 lines) | stat: -rw-r--r-- 4,213 bytes parent folder | download | duplicates (5)
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <title>$page.title</title>
      <style type="text/css">
        @import url("$root/style/tigris.css");
        @import url("$root/style/maven.css");
    .dtd-comment {
      color: #993399;
      font-weight: bold;
      </style>
      <script type="text/javascript">
        if (document.layers) {
          document.writeln('<link rel="stylesheet" type="text/css" href="$root/style/ns4_only.css" media="screen" /><link rel="stylesheet" type="text/css" href="$root/style/maven_ns4_only.css" media="screen" />')
        }
      </script>
      <link rel="stylesheet" type="text/css" href="$root/style/print.css" media="print" />
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body class="composite">
<div id="banner">
<table border="0" cellspacing="0" cellpadding="8" width="100%">
  <tbody>
    <tr>
      <td><h1>$page.header</h1>
      </td>
      <td>
      <div align="right" id="login"><a href="http://sourceforge.net/projects/jibx"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=69358&type=16" width="150" height="40" border="0" alt="Get JiBX - XML Data Binding for Java at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a></div>
      </td>
    </tr>
  </tbody>
</table>
</div>
<div id="breadcrumbs">
<table border="0" cellspacing="0" cellpadding="4" width="100%">
  <tbody>
    <tr>
      <td>
        <div align="right">
          <a href="$root/index.html">Home Page</a> |
          <a href="http://www.sourceforge.net/projects/jibx/">SourceForge Page</a> |
          <a href="$root/mail-lists.html">Mailing Lists</a> |
          <a href="$root/bugs.html">Bugs</a> |
          <a href="http://sourceforge.net/project/showfiles.php?group_id=69358">Downloads</a>
        </div>
      </td>
    </tr>
  </tbody>
</table>
</div>
<table border="0" cellspacing="0" cellpadding="8" width="100%" id="main">
  <tbody>
	<tr valign="top">
	  <td id="leftcol" width="20%">
		<div id="navcolumn">

##<!-- This recursive macro creates the nesting of menu items -->
#macro(menu $top $detail)
  #if ($detail.label)
    #if ($top)
          <div>
            <strong>$detail.label</strong>
      #foreach ($child in $detail.children)
        #menu(false $child)
      #end
          </div>
    #else
          <div>
            <small>
      #if ($detail == $page)
              <span class="menu-selection">$detail.label</span>
      #elseif ($detail.target)
              <a href="$page.relativePath($detail.target)">$detail.label</a>
      #else
              $detail.label
      #end
            </small>
      #foreach ($child in $detail.children)
        #menu(false $child)
      #end
          </div>
    #end
  #else
    #foreach ($child in $detail.children)
      #menu(false $child)
    #end
  #end
#end
##<!-- End macro -->

##<!-- Apply the recursive macro to generate normal menu -->
#foreach ($child in $menu.children)
  #menu(true $child)
#end

##<!-- Handle site-level subprojects menu -->
#if ($site && $site.children.size() > 1)
          <div><hr/></div>
  #if ($menu == $site.children.get(0))
          <div>
            <strong>Subprojects</strong>
          </div>
          <div>
    #foreach ($altmenu in $site.children)
      #if ($altmenu != $menu)
            <div>
              <a href="$page.relativePath($altmenu.target)">$altmenu.label</a>
            </div>
      #end
    #end
          </div>
  #else
    #set ($mainmenu = $site.children.get(0))
          <div>
            <strong>Main Project</strong>
          </div>
          <div>
            <a href="$page.relativePath($mainmenu.target)">$mainmenu.label</a>
          </div>
  #end
#end

        </div>
      </td>
      <td>

$page.body

      </td>
    </tr>
  </tbody>
</table>
<div id="footer">
<table border="0" cellspacing="0" cellpadding="4">
  <tbody>
    <tr>
      <td> &copy; 2003-2011, Dennis M. Sosnoski (<a href="http://www.sosnoski.co.nz">Sosnoski Software Associates Ltd</a>).
      Licensed to the JiBX Project for free distribution and use. </td>
    </tr>
  </tbody>
</table>
</div>
<br>
</body>
</html>