diff options
author | Masashi Nakane <masashi.nakane@gmail.com> | 2017-03-23 01:41:34 -0700 |
---|---|---|
committer | Matti Tahvonen <matti@vaadin.com> | 2017-03-23 10:41:34 +0200 |
commit | ef4c63c4e6a389f4eb65a8a4ebe98a63186f1e0e (patch) | |
tree | d44bd08604be84ae3f4f38e7074c2626cd72bb65 /documentation | |
parent | da7b805f1012886541418f4552839ca475f931dc (diff) | |
download | vaadin-framework-ef4c63c4e6a389f4eb65a8a4ebe98a63186f1e0e.tar.gz vaadin-framework-ef4c63c4e6a389f4eb65a8a4ebe98a63186f1e0e.zip |
Add tip for GUI components with Vaadin 8 (#8899)
* Use difference GUI component for Vaadin 8
With Vaadin Framework 8, Tutorial learner should use different setting and component for form development
* Better explanation
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/tutorial.adoc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/documentation/tutorial.adoc b/documentation/tutorial.adoc index adbfa51213..7306a28356 100644 --- a/documentation/tutorial.adoc +++ b/documentation/tutorial.adoc @@ -549,6 +549,10 @@ you can edit the raw content of the .html file. If you wish to take a shortcut or think you did something wrong when using the designer, you can just copy-paste the content of https://github.com/vaadin/tutorial/blob/master/src/main/resources/my/vaadin/app/CustomerFormDesign.html[the final state] to your own .html file. +TIP: With Vaadin Framework 8, make following things differently: +For status' NativeSelect Component, set Itemtype as CustomerStatus enum. +Use DateField Component for birthday, instead of PopupDateField. + At this point we only have a static mockup of the actual UI. To implement a functional form component, we need some Java code as well. Vaadin Designer automatically creates a similarly named Java class, but a good habit is to never touch the auto-generated file, in this case the |