vaadin/vaadin-boothdemo-designer

Name: vaadin-boothdemo-designer

Owner: Vaadin

Description: null

Forked from: freducom/vaadin-boothdemo-designer

Created: 2016-09-14 20:07:56.0

Updated: 2016-09-14 20:07:57.0

Pushed: 2016-09-19 00:24:36.0

Homepage: null

Size: 210

Language: CSS

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Vaadin Expo booth example application

This is a starting point for showing how Vaadin Designer works. Part 2 of the JavaOne booth pitch.

The Booth Demo

Always be safe and reset first:

reset --hard

Start the server and show the project.

g as -> Maven build... -> Jetty:run

This is the standard example archetype for Vaadin Framework.

Click around and show the form by selecting something in the grid.

Let's change the form a bit. The buttons could be made prettier and there are some things in the grid we want to edit as well.

Open the design file in designer. Ask if the person would like to use it themselves!

Please drag 2 textfields and wrap them in a horisontal layout

Name the Textfields price and stockCount and add a label.

Show the Wrap function in Designer.

Let's also make it nicer in a UX sense.

Click expand-arrow in layout + 2 textfields.

Add spacing for the horisontal layout (checkbox).

Let's also change the styling of the buttons.

Save: primary Delete: danger

Show the design on mobile. Show the entire app on mobile (change the port to 8080).

One more thing. There are tons of add-ons in Vaadin, more than 600 in fact, and they're very easy to take into use. Let's look at the Spreadsheet component

Open the StatsView class

Check out the Stats view and comment out the code. Show how the Stats.xlsx content is now in a spreadsheet and editable.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.