--- | --- | ||||
[[adding-jpa-to-the-address-book-demo]] | [[adding-jpa-to-the-address-book-demo]] | ||||
Adding JPA to the address book demo | |||||
----------------------------------- | |||||
= Adding JPA to the address book demo | |||||
Petter Holmström | Petter Holmström | ||||
--- | --- | ||||
[[auto-generating-a-form-based-on-a-bean-vaadin-6-style-form]] | [[auto-generating-a-form-based-on-a-bean-vaadin-6-style-form]] | ||||
Auto-generating a form based on a bean - Vaadin 6 style Form | |||||
------------------------------------------------------------ | |||||
= Auto-generating a form based on a bean - Vaadin 6 style Form | |||||
In Vaadin 6 it is easy to get a completely auto generated form based on | In Vaadin 6 it is easy to get a completely auto generated form based on | ||||
a bean instance by creating a `BeanItem` and passing that to a Form. Using | a bean instance by creating a `BeanItem` and passing that to a Form. Using |
--- | --- | ||||
[[building-vaadin-applications-on-top-of-activiti]] | [[building-vaadin-applications-on-top-of-activiti]] | ||||
Building Vaadin applications on top of Activiti | |||||
----------------------------------------------- | |||||
= Building Vaadin applications on top of Activiti | |||||
by Petter Holmström | by Petter Holmström | ||||
--- | --- | ||||
[[changing-the-default-converters-for-an-application]] | [[changing-the-default-converters-for-an-application]] | ||||
Changing the default converters for an application | |||||
-------------------------------------------------- | |||||
= Changing the default converters for an application | |||||
Each Vaadin session instance has a `ConverterFactory` that provides | Each Vaadin session instance has a `ConverterFactory` that provides | ||||
converters to Fields and Table. The defaults might not be ideal for your | converters to Fields and Table. The defaults might not be ideal for your |
--- | --- | ||||
[[configuring-grid-column-widths]] | [[configuring-grid-column-widths]] | ||||
Configuring Grid column widths | |||||
------------------------------ | |||||
= Configuring Grid column widths | |||||
To try out how the widths of Grid columns work in different situations, | To try out how the widths of Grid columns work in different situations, | ||||
we'll use the same base implementation as in the | we'll use the same base implementation as in the |
--- | --- | ||||
[[creating-a-basic-application]] | [[creating-a-basic-application]] | ||||
Creating a basic application | |||||
---------------------------- | |||||
= Creating a basic application | |||||
To create a Vaadin application you need two files. A class that extends | To create a Vaadin application you need two files. A class that extends | ||||
UI which is your main view and entry point to the application as well as | UI which is your main view and entry point to the application as well as |
--- | --- | ||||
[[creating-a-customfield-for-editing-the-address-of-a-person]] | [[creating-a-customfield-for-editing-the-address-of-a-person]] | ||||
Creating a CustomField for editing the address of a person | |||||
---------------------------------------------------------- | |||||
= Creating a CustomField for editing the address of a person | |||||
A normal use case is that you want to create a form out a bean that the | A normal use case is that you want to create a form out a bean that the | ||||
user can edit. Often these beans contain references to other beans as | user can edit. Often these beans contain references to other beans as |
--- | --- | ||||
[[creating-a-master-details-view-for-editing-persons]] | [[creating-a-master-details-view-for-editing-persons]] | ||||
Creating a master details view for editing persons | |||||
-------------------------------------------------- | |||||
= Creating a master details view for editing persons | |||||
[[set-up]] | [[set-up]] | ||||
Set-up | Set-up |
--- | --- | ||||
[[creating-a-reusable-vaadin-theme-in-eclipse]] | [[creating-a-reusable-vaadin-theme-in-eclipse]] | ||||
Creating a reusable Vaadin theme in Eclipse | |||||
------------------------------------------- | |||||
= Creating a reusable Vaadin theme in Eclipse | |||||
This tutorial teaches you how to create a standalone Vaadin theme that | This tutorial teaches you how to create a standalone Vaadin theme that | ||||
can be reused in other Vaadin projects as an add-on. | can be reused in other Vaadin projects as an add-on. |
--- | --- | ||||
[[creating-a-textfield-for-integer-only-input-using-a-data-source]] | [[creating-a-textfield-for-integer-only-input-using-a-data-source]] | ||||
Creating a TextField for integer only input using a data source | |||||
--------------------------------------------------------------- | |||||
= Creating a TextField for integer only input using a data source | |||||
A `TextField` is a component that always has a value of type `String`. When | A `TextField` is a component that always has a value of type `String`. When | ||||
binding a property of another type to a text field, the value is | binding a property of another type to a text field, the value is |
--- | --- | ||||
[[creating-a-textfield-for-integer-only-input-when-not-using-a-data-source]] | [[creating-a-textfield-for-integer-only-input-when-not-using-a-data-source]] | ||||
Creating a TextField for integer only input when not using a data source | |||||
------------------------------------------------------------------------ | |||||
= Creating a TextField for integer only input when not using a data source | |||||
A `TextField` is a component that always has a value of type `String`. By | A `TextField` is a component that always has a value of type `String`. By | ||||
adding a converter to a field, the field will automatically validate | adding a converter to a field, the field will automatically validate |
--- | --- | ||||
[[creating-an-application-with-different-features-for-different-clients]] | [[creating-an-application-with-different-features-for-different-clients]] | ||||
Creating an application with different features for different clients | |||||
--------------------------------------------------------------------- | |||||
= Creating an application with different features for different clients | |||||
Providing different features for different clients can be done by | Providing different features for different clients can be done by | ||||
creating a specialized UIProvider for the application. | creating a specialized UIProvider for the application. |
--- | --- | ||||
[[creating-your-own-converter-for-string-mytype-conversion]] | [[creating-your-own-converter-for-string-mytype-conversion]] | ||||
Creating your own converter for String - MyType conversion | |||||
---------------------------------------------------------- | |||||
= Creating your own converter for String - MyType conversion | |||||
If you have custom types that you want to represent using the built in | If you have custom types that you want to represent using the built in | ||||
field components, you can easily create your own converter to take care | field components, you can easily create your own converter to take care |
--- | --- | ||||
[[finding-the-current-root-and-application]] | [[finding-the-current-root-and-application]] | ||||
Finding the current root and application | |||||
---------------------------------------- | |||||
= Finding the current root and application | |||||
There are many cases where you need a reference to the active | There are many cases where you need a reference to the active | ||||
`Application` or `Root`, for instance for showing notifications in a click | `Application` or `Root`, for instance for showing notifications in a click |
--- | --- | ||||
[[formatting-data-in-grid]] | [[formatting-data-in-grid]] | ||||
Formatting data in grid | |||||
----------------------- | |||||
= Formatting data in grid | |||||
Without any special configuration, Grid tries to find a `Converter` for | Without any special configuration, Grid tries to find a `Converter` for | ||||
converting the property value into a String that can be shown in the | converting the property value into a String that can be shown in the |
--- | --- | ||||
[[how-to-test-vaadin-web-application-performance-with-jmeter]] | [[how-to-test-vaadin-web-application-performance-with-jmeter]] | ||||
How to test Vaadin web application performance with JMeter | |||||
---------------------------------------------------------- | |||||
= How to test Vaadin web application performance with JMeter | |||||
This article describes how to make load testing of your Vaadin web | This article describes how to make load testing of your Vaadin web | ||||
application with http://jakarta.apache.org/jmeter/[JMeter]. | application with http://jakarta.apache.org/jmeter/[JMeter]. |
--- | --- | ||||
[[jasper-reports-on-vaadin-sample]] | [[jasper-reports-on-vaadin-sample]] | ||||
Jasper reports on Vaadin sample | |||||
------------------------------ | |||||
= Jasper reports on Vaadin sample | |||||
[[introduction]] | [[introduction]] | ||||
Introduction | Introduction |
--- | --- | ||||
[[lazy-query-container]] | [[lazy-query-container]] | ||||
Lazy query container | |||||
-------------------- | |||||
= Lazy query container | |||||
[[when-to-use-lazy-query-container]] | [[when-to-use-lazy-query-container]] | ||||
When to Use Lazy Query Container? | When to Use Lazy Query Container? |
--- | --- | ||||
[[migrating-from-vaadin-6-to-vaadin-7]] | [[migrating-from-vaadin-6-to-vaadin-7]] | ||||
Migrating from Vaadin 6 to Vaadin 7 | |||||
----------------------------------- | |||||
= Migrating from Vaadin 6 to Vaadin 7 | |||||
For migration to Vaadin 7.1, see | For migration to Vaadin 7.1, see | ||||
link:MigratingFromVaadin7.0ToVaadin7.1.asciidoc[Migrating | link:MigratingFromVaadin7.0ToVaadin7.1.asciidoc[Migrating |
--- | --- | ||||
[[migrating-from-vaadin-7.0-to-vaadin-7.1]] | [[migrating-from-vaadin-7.0-to-vaadin-7.1]] | ||||
Migrating from Vaadin 7.0 to Vaadin 7.1 | |||||
--------------------------------------- | |||||
= Migrating from Vaadin 7.0 to Vaadin 7.1 | |||||
This guide describes how to migrate from earlier versions to Vaadin 7.1. | This guide describes how to migrate from earlier versions to Vaadin 7.1. | ||||
--- | --- | ||||
[[offline-mode-for-touchkit-4-mobile-apps]] | [[offline-mode-for-touchkit-4-mobile-apps]] | ||||
Offline mode for TouchKit 4 mobile apps | |||||
--------------------------------------- | |||||
= Offline mode for TouchKit 4 mobile apps | |||||
[.underline]#*_Note:_* _Vaadin Touchkit has been discontinued. A community-supported version is | [.underline]#*_Note:_* _Vaadin Touchkit has been discontinued. A community-supported version is | ||||
available https://github.com/parttio/touchkit[on GitHub]._# | available https://github.com/parttio/touchkit[on GitHub]._# |
--- | --- | ||||
[[scala-and-vaadin-how-to]] | [[scala-and-vaadin-how-to]] | ||||
Scala and Vaadin how-to | |||||
----------------------- | |||||
= Scala and Vaadin how-to | |||||
[[introduction]] | [[introduction]] | ||||
Introduction | Introduction |
--- | --- | ||||
[[showing-data-in-grid]] | [[showing-data-in-grid]] | ||||
Showing data in Grid | |||||
-------------------- | |||||
= Showing data in Grid | |||||
Grid lazy-loads data from a `Container` instance. There are different | Grid lazy-loads data from a `Container` instance. There are different | ||||
container implementations that e.g. fetch data from a database or use a | container implementations that e.g. fetch data from a database or use a |
--- | --- | ||||
[[showing-extra-data-for-grid-rows]] | [[showing-extra-data-for-grid-rows]] | ||||
Showing extra data for Grid rows | |||||
-------------------------------- | |||||
= Showing extra data for Grid rows | |||||
Some data might not be suitable to be shown as part of a regular Grid, | Some data might not be suitable to be shown as part of a regular Grid, | ||||
e.g. because it's too large to fit into a Grid cell or because it's | e.g. because it's too large to fit into a Grid cell or because it's |
--- | --- | ||||
[[simplified-rpc-using-javascript]] | [[simplified-rpc-using-javascript]] | ||||
Simplified RPC using JavaScript | |||||
------------------------------- | |||||
= Simplified RPC using JavaScript | |||||
This tutorial continues where | This tutorial continues where | ||||
link:IntegratingAJavaScriptComponent.asciidoc[Integrating a JavaScript | link:IntegratingAJavaScriptComponent.asciidoc[Integrating a JavaScript |
--- | --- | ||||
[[using-grid-with-a-container]] | [[using-grid-with-a-container]] | ||||
Using Grid with a Container | |||||
--------------------------- | |||||
= Using Grid with a Container | |||||
Grid lazy-loads data from a `Container` instance. There are different | Grid lazy-loads data from a `Container` instance. There are different | ||||
container implementations that e.g. fetch data from a database or use a | container implementations that e.g. fetch data from a database or use a |
--- | --- | ||||
[[using-grid-with-inline-data]] | [[using-grid-with-inline-data]] | ||||
Using Grid with inline data | |||||
--------------------------- | |||||
= Using Grid with inline data | |||||
Instead of using a Vaadin Container as explained in | Instead of using a Vaadin Container as explained in | ||||
link:UsingGridWithAContainer.asciidoc[Using Grid with a Container], | link:UsingGridWithAContainer.asciidoc[Using Grid with a Container], |
--- | --- | ||||
[[using-hibernate-with-vaadin]] | [[using-hibernate-with-vaadin]] | ||||
Using Hibernate with Vaadin | |||||
--------------------------- | |||||
= Using Hibernate with Vaadin | |||||
Using Hibernate in Toolkit application, Basic | Using Hibernate in Toolkit application, Basic | ||||
http://en.wikipedia.org/wiki/Create,_read,_update_and_delete[CRUD] | http://en.wikipedia.org/wiki/Create,_read,_update_and_delete[CRUD] |
--- | --- | ||||
[[using-jdbc-with-lazy-query-container-and-filteringtable]] | [[using-jdbc-with-lazy-query-container-and-filteringtable]] | ||||
Using JDBC with Lazy Query Container and FilteringTable | |||||
------------------------------------------------------- | |||||
= Using JDBC with Lazy Query Container and FilteringTable | |||||
Introduction | Introduction | ||||
--- | --- | ||||
[[using-phonegap-build-with-vaadin-touchkit]] | [[using-phonegap-build-with-vaadin-touchkit]] | ||||
Using PhoneGap Build with Vaadin TouchKit | |||||
----------------------------------------- | |||||
= Using PhoneGap Build with Vaadin TouchKit | |||||
[.underline]#*_Note:_* _Vaadin Touchkit has been discontinued. A community-supported version is | [.underline]#*_Note:_* _Vaadin Touchkit has been discontinued. A community-supported version is | ||||
available https://github.com/parttio/touchkit[on GitHub]._# | available https://github.com/parttio/touchkit[on GitHub]._# |
--- | --- | ||||
[[developing-vaadin-apps-with-python]] | [[developing-vaadin-apps-with-python]] | ||||
Developing Vaadin apps with Python | |||||
---------------------------------- | |||||
= Developing Vaadin apps with Python | |||||
[[to-accomplish-exactly-what]] | [[to-accomplish-exactly-what]] | ||||
To accomplish exactly what? | To accomplish exactly what? |
--- | --- | ||||
[[using-vaadin-in-an-existing-gwt-project]] | [[using-vaadin-in-an-existing-gwt-project]] | ||||
Using Vaadin in an existing GWT project | |||||
--------------------------------------- | |||||
= Using Vaadin in an existing GWT project | |||||
[[using-vaadin-jar-with-google-eclipse-plugin-in-a-gwt-project]] | [[using-vaadin-jar-with-google-eclipse-plugin-in-a-gwt-project]] | ||||
Using Vaadin JAR with Google Eclipse plugin in a GWT project | Using Vaadin JAR with Google Eclipse plugin in a GWT project |
--- | --- | ||||
[[v-access-control]] | [[v-access-control]] | ||||
Access control | |||||
-------------- | |||||
= Access control | |||||
In this tutorial we will look into access control. | In this tutorial we will look into access control. | ||||
--- | --- | ||||
[[vaadin-7-hierarchical-container-and-treecomponent-example-with-liferay-organizationservice]] | [[vaadin-7-hierarchical-container-and-treecomponent-example-with-liferay-organizationservice]] | ||||
Vaadin 7 hierarchical container and TreeComponent example with Liferay OrganizationService | |||||
------------------------------------------------------------------------------------------ | |||||
= Vaadin 7 hierarchical container and TreeComponent example with Liferay OrganizationService | |||||
I recently needed a portlet to display the Organizations/Locations a | I recently needed a portlet to display the Organizations/Locations a | ||||
user belongs to in a Hierarchical Tree. I used Vaadin's tree and | user belongs to in a Hierarchical Tree. I used Vaadin's tree and |