1
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
<head>
|
5
|
<title>TEST</title>
|
6
|
$baseHREF
|
7
|
<style type="text/css" media="print">
|
8
|
@page {
|
9
|
size: letter portrait;
|
10
|
@bottom-right { content: "Page " counter(page) " of " counter(pages);
|
11
|
font-family:helvetica, arial, sans-serif; font-size: 10pt; }
|
12
|
@bottom-left { content: "Generated with VelocityReport Plugin $!plugin.version for Servoy";
|
13
|
font-family:helvetica, arial, sans-serif; font-size: 10pt; }
|
14
|
margin: .4in;
|
15
|
@top-left {content: 'My Sample Report';}
|
16
|
}
|
17
|
table { -fs-table-paginate: paginate; }
|
18
|
</style>
|
19
|
<link rel="stylesheet" type="text/css" media="all" href="styles.css"/>
|
20
|
</head>
|
21
|
|
22
|
<body width="100%">
|
23
|
<table class="header">
|
24
|
<tr>
|
25
|
<td><img src="images/flyingsaucer_med.png" /></td>
|
26
|
<td><h1>Hello $firstRecord.name_first $firstRecord.name_last!</h1></td>
|
27
|
<td align="right">$!mediaStuff</td>
|
28
|
</tr>
|
29
|
</table>
|
30
|
|
31
|
<h2>Contacts:</h2>
|
32
|
#parse("inc/contacts.html")
|
33
|
|
34
|
<h2>Product types:</h2>
|
35
|
#tablizer($dataset, "datasetTable")
|
36
|
|
37
|
<h2>Products:</h2>
|
38
|
#tablizer($products, "productTable")
|
39
|
|
40
|
<h2>Countries:</h2>
|
41
|
#tablizer($countries, "countryTable")
|
42
|
|
43
|
$!date.format("yyyy-MM-dd",$!globals.dateTest)<br/>
|
44
|
$math.getTotal([1,2,3,4])<br/>
|
45
|
$number.currency(99.99)<br/>
|
46
|
$!callbackTest<br/>
|
47
|
$!testI18n<br/>
|
48
|
$number.integer($!jsObject.number2)<br/>
|
49
|
<h2>$!jsObject.objectProp</h2>
|
50
|
|
51
|
$!pieChart<br/>
|
52
|
$!barChart<br/>
|
53
|
$!scatterChart<br/>
|
54
|
$!lineChart<br/>
|
55
|
$!xyLineChart<br/>
|
56
|
$!radarChart<br/>
|
57
|
$!googleOMeterChart<br/>
|
58
|
$!dialChart<br/>
|
59
|
$!blob<br/>
|
60
|
$!barcode
|
61
|
</body>
|
62
|
</html>
|