203 Lotus blogs updated hourly. Who will post next? Home | Blogs | Search | About 
 
Latest 7 Posts
Vaadin 8 in Kotlin: Binding?data
Fri, Feb 10th 2017 7
Vaadin 8 in Kotlin: Data model changes???ComboBox, Grid??
Wed, Feb 8th 2017 3
Spring Boot: Spring Boot 1.4.x & Thymeleaf 3.x configuration
Mon, Feb 6th 2017 9
Spring Boot: Talking to Elasticsearch through JEST (REST?api)
Fri, Feb 3rd 2017 9
Spring Boot: Webjars???bundle your favourite JS library?easily
Wed, Feb 1st 2017 8
Spring Boot: Listening for incoming emails in our applications
Mon, Jan 30th 2017 8
NET.Notes Desktop: Webovy prohlizec souboroveho systemu
Fri, Jan 27th 2017 4
Top 10
Spring Boot: Active Directory authentication
Thu, Jan 12th 2017 14
Vaadin - the platform of choice for Notes developers - Forms - III. part
Fri, Apr 8th 2016 11
Spring Boot: Talking to Elasticsearch through JEST (REST?api)
Fri, Feb 3rd 2017 9
Spring Boot: Spring Boot 1.4.x & Thymeleaf 3.x configuration
Mon, Feb 6th 2017 9
Vaadin ? the platform of choice for Notes developers ? I. part
Tue, Mar 29th 2016 8
Spring Boot: Listening for incoming emails in our applications
Mon, Jan 30th 2017 8
Spring Boot: Webjars???bundle your favourite JS library?easily
Wed, Feb 1st 2017 8
LN Admin Tip #2/07 - oddeleni aktualizace indexu pohledu od aktualizace full-textovych indexu
Mon, Feb 10th 2014 7
Vaadin 8 in Kotlin: Binding?data
Fri, Feb 10th 2017 7
Notes data on Android mobile ...and offline
Tue, Jan 5th 2016 6


Vaadin - the platform of choice for Notes developers - JavaScripts, Agents and DEMO - IV. part
Twitter Google+ Facebook LinkedIn Addthis Email Gmail Flipboard Reddit Tumblr WhatsApp StumbleUpon Yammer Evernote Delicious
Stanislav Marszalek    

In the first part of our series I've focused on overall reasons why we've chosen Vaadin as a next development platform for our future applications. The second part shows how to navigate and work with views and in the third part we went through variety of form components. Today we set the attention to Java Script components, agents and access rights. At the end is a link to our simple demo in Vaadin. JavaScript Components As mentioned earlier programming in Vaadin means that everything is done in Java on the server. There is no need to write HTML, Javascripts, call Ajax. The code in Java can interact with client side, so your code can have a function which gets a document from the database, then displays confirmation message box to the user, wait on his decision and processed with the backend operations. To do this in standard web application (in Xpages for example) you need to involve not only backend classes like Java or PHP, but also Javascripts and Ajax calls. But there are a bunch of very useful Javascript libraries out there, which would be very nice to use in Vaadin applications. For example Full Calendar, Google charts, Canvas3D and others. Good news is, that there is a way how to do this. Here is detailed description. Basically you need to connect client-side with server-site in both directions: ? RPC calls from client to server ? Shared state and RPC from server to client We did it, for example to Full Calendar. Java code fetches the events from the database and send it to Full Calendar for the display. On the other hand, when clicking on the day in Full calendar, user fires the request which is captured by Java and that displays the event dialog form draw by Vaadin. In the same way you can implement whatever JavaScript library into your application.

---------------------
http://blog.tcl-digitrade.com/blogs/tcl-digitrade-blog.nsf/dx/03.05.2016104750SMACBW.htm
May 03, 2016
6 hits



Recent Blog Posts
7
Vaadin 8 in Kotlin: Binding?data
Fri, Feb 10th 2017 5:47a   David Marko
Binding from data bean to UI components is very common Vaadin feature. Vaadin 8 changes the API slightly and simplifies this operation. Each item below references code comment number in code snippet b
3
Vaadin 8 in Kotlin: Data model changes???ComboBox, Grid??
Wed, Feb 8th 2017 4:11a   David Marko
There are many nice features promised to come with Vaadin version 8. You probably know that Vaadin 8 is JDK 1.8 optimized version and many related simplifications are available in API now. Lets look a
9
Spring Boot: Spring Boot 1.4.x & Thymeleaf 3.x configuration
Mon, Feb 6th 2017 7:54a   David Marko
Thymeleaf is quite popular template engine widely used among Spring Boot developers. And we use it as well. While working with Spring Boot 1.4.x you will find that spring-boot-starter-thymeleaf is bas
9
Spring Boot: Talking to Elasticsearch through JEST (REST?api)
Fri, Feb 3rd 2017 4:32a   David Marko
If you use Spring Boot with some database you are probably quite familiar with Spring Data project. This way we can use many database systems very standardized way. It includes Elasticsearch using Spr
8
Spring Boot: Webjars???bundle your favourite JS library?easily
Wed, Feb 1st 2017 4:28a   David Marko
Probably every web application depends on some JavaScript library on CSS file. We have our own such files, but many are third party coming from other developers. Shared knowledge is nice. To include s
8
Spring Boot: Listening for incoming emails in our applications
Mon, Jan 30th 2017 4:31a   David Marko
There are several options how to process incoming emails in our applications. We can for example route email into standard mailbox and periodically download emails into our application with POP3 proto
4
NET.Notes Desktop: Webovy prohlizec souboroveho systemu
Fri, Jan 27th 2017 2:54a   David Marko
Sdilene adresare na souborovem serveru jsou oblibenym a rychlym zpusobem, jak si uzivatele mezi sebou soubory sdileji a vymenuji. V ramci lokalni site se sdilenymi slozkami pracuje velmi rychle a zvla
3
Spring Boot: Startup init through @PostConstruct
Wed, Jan 25th 2017 4:00a   David Marko
There are frequent situations when application requires to run custom code while starting up. There are several ways how to do it in Spring Boot, one of my favorites is to create @Component class with
5
NET.Notes Desktop: Posilani SMS zprav z aplikaci
Mon, Jan 23rd 2017 4:00a   David Marko
Je mnoho zpusobu, jak s nami muze aplikace komunikovat. Pokud sedime u pocitace je pravdepodobne, ze primarni zdroj informaci je pro nas pocitac samotny. Co vsak kdyz chceme dostavat informace, kdyz k
1
NET.Notes Desktop: Autentizace vuci Active Directory
Thu, Jan 19th 2017 11:47a   David Marko
NET.Notes poskytuje nekolik zpusobu jak autentizovat uzivatele systemu. Zakladem je vlastni uzivatelska databaze, kde jsou prihlasovani uzivatele autentizovani jmenem a heslem v ni ulozenym. Ne vzdy j




Created and Maintained by Yancy Lent - About - Planet Lotus Blog - Advertising - Mobile Edition