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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Vaadin @version@</title>
<link rel="stylesheet" type="text/css" href="demo/css/styles.css" />
<link rel="stylesheet" type="text/css" href="demo/css/zoombox.css" />
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="demo/css/ie.css" />
<![endif]-->
</head> <!-- /head -->
<body>
<div id="header">
<h1>Vaadin – thinking of U and I</h1>
<div id="version">
<strong>Version @version@</strong>
<a href="release-notes.html" class="release-notes" title="Read the release notes for this Vaadin version">Release Notes »</a>
</div>
</div> <!-- /header -->
<div id="subheader">
<ul id="menu">
<li></li>
<!--
<li><a href="#sampler">Sampler</a></li>
<li>•</li>
<li><a href="#addons">Add-ons</a></li>
<li>•</li>
<li><a href="#code-examples">Code Examples</a></li>
<li>•</li>
<li><a href="#getting-started">Getting Started</a></li>
<li>•</li>
<li><a href="#docs">Documentation</a></li>
<li>•</li>
<li><a href="#support">Support</a></li>
-->
</ul>
<ul id="links">
<li><a href="http://vaadin.com/forum" title="Open vaadin.com/forum">Discussion Forum »</a></li>
<li><a href="http://dev.vaadin.com" title="Open dev.vaadin.com">Issue Tracker »</a></li>
<li><a href="http://www.vaadin.com" title="Open www.vaadin.com">Vaadin Home »</a></li>
</ul>
</div> <!-- /subheader -->
<div id="upfront">
<div id="sampler">
<a href="sampler/" class="demoapp">
<div id="sampler-slideshow">
<ul>
<li class="active"><img src="demo/img/sampler/home.png" alt="Sampler home screen" /></li>
<li><img src="demo/img/sampler/category.png" alt="Sampler category screen" /></li>
<li><img src="demo/img/sampler/sample.png" alt="Sampler individual sample screen" /></li>
<li><img src="demo/img/sampler/source.png" alt="Sampler example source code" /></li>
</ul>
<span class="mask"></span>
</div>
<h2>Sampler</h2>
<p>See all Vaadin <strong>core components</strong> and their <strong>features</strong> in action in the Sampler with example <strong>source code available</strong> for to get you started quickly with your own project.</p>
<strong class="start">Start Sampler »</strong>
<!--<strong class="new"><em>Notable In This Release</em> • Drag'n'drop • Keyboard Shortcuts • AbsoluteLayout • GWT 2.0</strong>-->
</a>
</div>
</div> <!-- /upfront -->
<div id="content">
<h3 class="reasons">More Reasons to Choose Vaadin</h3>
<ul id="reasons">
<li id="programming-model" class="tab">
<h4 title="Write Java">Programming Model</h4>
<div class="col2">
<h5>Server-side Java</h5>
<p>Forget about the browser and RPC, you're working with server-side code. This separates Vaadin from client oriented Java frameworks such as GWT.</p>
</div>
<div class="col2">
<h5>Code Examples</h5>
<ul>
<li>
<h6>Hello World – The classic example</h6>
<a href="HelloWorld.java" title="View Source">HelloWorld.java</a> • <a href="/HelloWorld">Run the app »</a>
</li>
<li>
<h6>Calculator – Simple logic & event handling</h6>
<a href="Calc.java" title="View Source">Calc.java</a> • <a href="/Calc">Run the app »</a>
</li>
</ul>
</div>
<div class="newline col2">
<h5>Architecture Diagram</h5>
<p>Learn how Vaadin integrates with different platforms and other frameworks, and where your code fits in.</p>
<a class="thumb" href="demo/img/vaadin-overall-architecture.png" rel="zoombox">
<img src="demo/img/icons/architecture.png" />
<span></span>
</a>
</div>
<div class="col2">
<h5>Short Development Example</h5>
<p>Watch how to create a document editor in less than 10 minutes using the Eclipse IDE.</p>
<a class="thumb video" href="http://www.youtube.com/watch?v=u-a3VQF90kw" rel="zoombox">
<img src="demo/img/icons/dev-video.png" />
<span>Vaadin step-by-step (10 min)</span>
</a>
</div>
<div class="col4">
<h5>More?</h5>
<ul>
<li><a href="http://vaadin.com/comparison">Framework comparison</a></li>
<li><a href="http://vaadin.com/learn">Learn more from vaadin.com</a></li>
</ul>
</div>
</li>
<li id="theming" class="tab">
<h4 title="Themes">Flexible Theming</h4>
<div class="col4">
<h5>Looks the Way You Want It To</h5>
<p>Vaadin comes with two great themes to get you started. Since individual apps have individual needs, Vaadin makes it easy to customize the look of your application using only CSS.</p>
</div>
<div class="newline col4">
<h5>Built-in Themes</h5>
<div class="col2">
<a class="thumb" href="ReindeerTheme">
<img src="demo/img/icons/reindeer.png" />
<span><strong>Reindeer</strong>One theme – multiple looks</span>
</a>
</div>
<div class="col2">
<span class="thumb">
<img class="thumb" src="demo/img/icons/runo.png" />
<span><strong>Runo</strong>Clean and easy to extend</span>
</span>
</div>
</div>
<div class="col4">
<h5>Additional Themes & Demos</h5>
<div class="col2">
<a class="thumb" href="http://demo.vaadin.com/chameleontheme">
<img src="demo/img/icons/chameleon.png" />
<span><strong>Chameleon Theme</strong>Create your own theme in seconds</span>
</a>
<a class="thumb-rel" href="http://vaadin.com/directory#addon/106">Available in the Directory</a>
</div>
<div class="col2">
<a class="thumb" href="/VaadinTunes">
<img src="demo/img/icons/vaadintunes.png" />
<span><strong>VaadinTunes</strong>Advanced layout and theme example</span>
</a>
<a class="thumb-rel" href="vaadin-tunes-sources">Source code</a>
</div>
</div>
<div class="col4">
<h5>More?</h5>
<ul>
<li><a href="http://vaadin.com/directory#browse/type/2">Browse the themes category in the Directory</a></li>
</ul>
</div>
</li>
<li id="add-ons" class="tab">
<h4 title="Add-ons">Extending, Packaging and Distributing</h4>
<div class="col2">
<h5>Add-on Architecture</h5>
<p>Vaadin has a unique add-on architecture. Add-ons, such as new components/widgets can be packaged as single JARs, which can then be used in other projects just by adding them to the project's classpath.</p>
</div>
<div class="col2">
<h5>Vaadin Directory</h5>
<p>Choose from the dozens of useful add-ons found in the Vaadin Add-on Directory. Distribute your own add-on for others to use.</p>
</div>
<div class="newline col2">
<h5>Packaging Add-ons</h5>
<p>Create re-usable add-ons that you can share in the Directory.</p>
<a class="thumb video" href="http://www.youtube.com/watch?v=0deldJZhydE" rel="zoombox">
<img src="demo/img/icons/packaging-video.png" />
<span>Creating and packaging a custom Vaadin widget (2 min)</span>
</a>
</div>
<div class="col2">
<h5>Integrating Add-ons</h5>
<p>Add new functionality
to your application with
add-ons.</p>
<a class="thumb video" href="http://www.youtube.com/watch?v=LSXCNL6Q1w0" rel="zoombox">
<img src="demo/img/icons/integrating-video.png" />
<span>Vaadin Directory Demo (4 min)</span>
</a>
</div>
</li>
<li id="documentation" class="tab">
<h4 title="Documentation">Best Documentation Around</h4>
<div class="col2">
<h5>Documentation is the key to understanding</h5>
<p>
<img src="demo/img/book-of-vaadin.png" />
</p>
<p><a href="docs/book-of-vaadin.pdf">Book of Vaadin</a> provides you with all the information you need about Vaadin in a comprehensive form.</p>
<h5>API</h5>
<p>When you get down to programming the <a href="docs/api/index.html">Vaadin API Reference Documentation</a> will help you with the classes and the methods.</p>
</div>
<div class="col2">
<h5>DZone Refcard</h5>
<p>For a quick introduction to Vaadin, check out the <a href="http://refcardz.dzone.com/refcardz/getting-started-vaadin">DZone Vaadin Refcard</a></p>
<h5>Tutorials</h5>
<p>Vaadin tutorials provides you with a code-centric introduction to Vaadin.<br/>
<a href="http://vaadin.com/tutorial/-/page/">Building a simple address book</a><br/>
<a href="http://vaadin.com/tutorial/">More tutorials</a></p>
</div>
</li>
<li id="deployment" class="tab">
<h4 title="Deployment">Easy deployment</h4>
<div class="col2">
<h5>Single JAR</h5>
<p>Vaadin is a single JAR file without external dependencies. Deploy the JAR with your application and you are ready to go.</p>
<h5>Servlet deployment</h5>
<p>Vaadin provides a single servlet which runs the application. An application can be deployed to any servlet 2.3 container such as Jetty, Tomcat, and more.</p>
</div>
<div class="col2">
<h5>Portlet support</h5>
<p>Vaadin applications can also be deployed as portlets in portals such as Liferay. No code modifications are needed to deploy a Vaadin application to a portal and both portlet standards 1.0 (JSR-168) and 2.0 (JSR-286) are supported.</p>
<h5>Google App Engine</h5>
<p>The same servlet and portlet Vaadin applications can also be deployed to Google App Engine. This requires that all application classes are serializable.</p>
</div>
</li>
<li id="development" class="tab">
<h4 title="Development">Compatible With Tools You Already Know</h4>
<div class="col2">
<h5>Eclipse</h5>
<p>Vaadin provides an Eclipse plugin which can automatically set up your project, compile your widgetset and more.</p>
<ul><li><a href="http://vaadin.com/eclipse/">Eclipse plugin update site and instructions</a></li></ul>
<br/>
<h5>NetBeans</h5>
<p>A community created Vaadin NetBeans plugin is available for all NetBeans developers.</p>
<ul><li><a href="http://vaadin.com/netbeans">NetBeans plugin installation instructions</a></li></ul>
</div>
<div class="col2">
<h5>Maven</h5>
<p>Vaadin is also in the central Maven repository, providing archetypes for creating Vaadin projects and a widgetset compilation plugin for Maven.</p>
<ul><li><a href="http://dev.vaadin.com/wiki/Articles/MavenIntegration">Using Vaadin with Maven</a></li></ul>
<br/>
<h5>Ant</h5>
<p>Ant integration is also provided for users of other IDEs and for automatic builds.</p>
<ul><li><a href="docs/example-source/build-widgetset.xml">Example widgetset build script</a></li></ul>
</div>
</li>
</ul>
</div> <!-- /content -->
<script type="text/javascript" src="demo/js/jquery.min.js"></script>
<script src="demo/js/fonts.js" type="text/javascript"></script>
<script src="demo/js/zoombox.js" type="text/javascript"></script>
<script type="text/javascript">
function slideSwitch() {
var $active = $('#sampler-slideshow li.active');
if ( $active.length == 0 ) $active = $('#sampler-slideshow li:last-child');
// use this to pull the images in the order they appear in the markup
var $next = $active.next().length ? $active.next()
: $('#sampler-slideshow li:first-child');
$active.addClass('last-active');
$next.css({opacity: 0.0})
.addClass('active')
.animate({opacity: 1.0}, 500, function() {
$active.removeClass('active last-active');
});
}
function doTabs() {
var content = $("#reasons");
content.addClass("js");
// Generate tab captions
var tabs = content.before('<div id="tabs"></div>').prev();
var height = 0;
$("#reasons .tab").each(function(i, li) {
li = $(li);
li.css({"position":"absolute"});
if(li.height() > height) {
height = li.outerHeight();
}
if(i>0){
li.hide();
}
var caption = li.find("h4");
var tab = tabs.append('<div class="tab">'+caption[0].title+'<span>►</span></div>').find(".tab:last-child");
if(i==0) {
jQuery.data(tabs[0], "selected", tab);
jQuery.data(content[0], "open", li);
tab.addClass("first");
tab.addClass("selected");
}
jQuery.data(tab[0], "content", li);
tab.click(function() {
if(jQuery.data(tabs[0], "selected")[0] == this)
return;
// Hide previous
jQuery.data(tabs[0], "selected").removeClass("selected");
//jQuery.data(content[0], "open").fadeOut("fast");
jQuery.data(content[0], "open").hide();
var tab = $(this);
var tabContent = jQuery.data(this, "content");
// Show new
jQuery.data(tabs[0], "selected", tab);
tab.addClass("selected");
jQuery.data(content[0], "open", tabContent);
tabContent.css({"opacity":""});
//tabContent.fadeIn("fast");
tabContent.show();
});
});
content.height(height);
}
window.onload = function() {
try {
if(window.location.search && (window.location.search.indexOf('gwt.hosted') != -1 || window.location.search.indexOf('gwt.codesvr') != -1)) {
var hostedParam = window.location.search;
var demolinks = document.getElementsByTagName("a");
for (var k = 0; k < demolinks.length; k++) {
var link = demolinks[k];
if(link.className.indexOf
("demoapp") != -1) {
link.href = link.href + hostedParam;
}
}
}
} catch(e) {}
setInterval( "slideSwitch()", 2200 );
doTabs();
}
Cufon.replace(["h2","h4","#sampler .start"], {fontFamily: "HelveticaRounded"});
Cufon.replace(["h3"], {fontFamily: "HelveticaLight"});
</script>
</body>
</html>
|