diff options
author | Masashi Nakane <masashi.nakane@gmail.com> | 2017-03-23 01:41:34 -0700 |
---|---|---|
committer | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2017-05-08 14:46:35 +0300 |
commit | 36e471096f12e4dbf857c4b943d214aba2842358 (patch) | |
tree | d05844190b7d0fbeacaecf8d67f65ee86262a0de | |
parent | 98093d1b2238d813ab6dcf48d988a3b217e29458 (diff) | |
download | vaadin-framework-36e471096f12e4dbf857c4b943d214aba2842358.tar.gz vaadin-framework-36e471096f12e4dbf857c4b943d214aba2842358.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
-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 |