<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Vaadin on Flowing Code</title><link>https://www.flowingcode.com/en/tag/vaadin/</link><description>Recent content in Vaadin on Flowing Code</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Tue, 15 Jun 2021 11:50:09 +0000</lastBuildDate><atom:link href="https://www.flowingcode.com/en/tag/vaadin/index.xml" rel="self" type="application/rss+xml"/><item><title>Vaadin TreeGrid with lazy loading, filtering and sorting</title><link>https://www.flowingcode.com/en/vaadin-tree-grid-lazy-loading-filtering-sorting/</link><pubDate>Thu, 13 May 2021 14:12:58 +0000</pubDate><guid>https://www.flowingcode.com/en/vaadin-tree-grid-lazy-loading-filtering-sorting/</guid><description>&lt;div class="wp-block-image">&lt;figure class="aligncenter size-large is-resized">&lt;img alt="" class="wp-image-720" height="374" loading="lazy" src="https://www.flowingcode.com/images/uploads/2021/04/TreeGrid.png" width="836"/>&lt;/figure>&lt;/div>
&lt;p class="wp-block-paragraph">I’m giving my first steps into Vaadin 14 after a long, long time of Vaadin 8 projects and I want to share my experience when it was time to work with the TreeGrid component to display hierarchical data. I ran into this issue where I needed to add filtering and sorting to a Vaadin TreeGrid implementing lazy loading. I had this &lt;a href="https://www.flowingcode.com/en/lazy-filtered-and-sorted-vaadin-grid-using-external-data-source/">article&lt;/a> for Grid as base but some things are different so I thought it would be a good idea to share all the steps needed and all things to keep in mind for this kind of implementation.&lt;/p></description></item><item><title>Another year in review: The new normal</title><link>https://www.flowingcode.com/en/another-year-in-review-the-new-normal/</link><pubDate>Mon, 05 Apr 2021 20:03:58 +0000</pubDate><guid>https://www.flowingcode.com/en/another-year-in-review-the-new-normal/</guid><description>&lt;div class="wp-block-image">&lt;figure class="alignright size-large is-resized">&lt;img alt="Happy birthday 4" class="wp-image-594" height="283" loading="lazy" src="https://www.flowingcode.com/images/uploads/2021/03/happy_birthday_2.jpg" width="271"/>&lt;/figure>&lt;/div>
&lt;p class="wp-block-paragraph">Our life, way to enjoy, live and work has changed, but we’re still here giving our best to provide the quality services that our customers demand. Let’s review another year by going through our most remarkable achievements.&lt;/p></description></item><item><title>Our last year in review: #StayHome &amp; Code!</title><link>https://www.flowingcode.com/en/our-last-year-in-review-stayhome-code/</link><pubDate>Tue, 14 Apr 2020 20:14:10 +0000</pubDate><guid>https://www.flowingcode.com/en/our-last-year-in-review-stayhome-code/</guid><description>&lt;div class="wp-block-image">&lt;figure class="alignright size-large is-resized">&lt;img alt="" class="wp-image-452" height="260" loading="lazy" src="https://www.flowingcode.com/images/uploads/2020/04/photo4blog.jpg" width="260"/>&lt;/figure>&lt;/div>
&lt;p class="wp-block-paragraph">Although we’re all navigating uncertain times and the reality of the world is very different from what it was one year ago, Flowing Code is turning 3 years old and we wanted to take a moment to acknowledge all the good work and growth we managed to achieve. So here’s little review of our last year:&lt;/p></description></item><item><title>CSS Theming &amp; Styling in Vaadin 14</title><link>https://www.flowingcode.com/en/css-theming-styling-in-vaadin-14/</link><pubDate>Thu, 22 Aug 2019 14:10:00 +0000</pubDate><guid>https://www.flowingcode.com/en/css-theming-styling-in-vaadin-14/</guid><description>&lt;p>&lt;img alt="" class="alignnone size-full wp-image-375" height="340" loading="lazy" src="https://www.flowingcode.com/images/uploads/2019/08/CSS-Theming-Styling-in-Vaadin-14.png" width="760"/>&lt;/p>
&lt;p>Last week, the new &lt;a href="https://vaadin.com/roadmap" rel="noopener noreferrer" target="_blank">LTS version&lt;/a> of the presentation framework was announced.&lt;br/>
While you can find more information about &lt;a href="https://vaadin.com/blog/top-14-new-features-in-vaadin-14" rel="noopener noreferrer" target="_blank">the new features&lt;/a> in the official site, I would like to focus on one specific feature that I’ve found interesting: styles management.&lt;br/>
Across the years we saw different approaches in how to handle styles in Vaadin applications.&lt;br/>
In Vaadin 6 you could just modify styles using plain CSS. Of course you had two choices: either build everything from scratch, or inherit the built-in themes like Reindeer, Runo or Chameleon. That inheritance scheme was based in the @import css statement, which is the basis of the cascading part of the theming technology.&lt;br/>
The problem with this approach was that the customization was difficult, because the complexity of the rendered DOM, and the lack of variables that could help in modifying certain aspects of the base themes such as sizing and spacing, that several rules had in common.&lt;/p></description></item><item><title>Lazy, Filtered and Sorted Vaadin Grid using External Data Source</title><link>https://www.flowingcode.com/en/lazy-filtered-and-sorted-vaadin-grid-using-external-data-source/</link><pubDate>Wed, 24 Apr 2019 18:06:00 +0000</pubDate><guid>https://www.flowingcode.com/en/lazy-filtered-and-sorted-vaadin-grid-using-external-data-source/</guid><description>&lt;div style="clear: both; text-align: center;">&lt;img alt="" class="alignnone size-full wp-image-391" height="340" loading="lazy" src="https://www.flowingcode.com/images/uploads/2019/04/Lazy-Filtered-and-Sorted-Vaadin-Grid-using-External-Data-Source.png" width="760"/>&lt;/div>
&lt;div>&lt;/div>
&lt;div style="text-align: justify;">In large enterprise application development projects, it’s usual to code use cases that, as the main requirement, define to show the user huge amounts of data in a tabular way. For this kind of scenarios, there is a particular web component that comes really handy: a Grid. Given that we like Vaadin’s framework, we are going to describe how to configure it in such a way that doesn’t restrict you about performance issues when doing that.&lt;/div>
&lt;div style="text-align: justify;">This post assumes that you have some knowledge of web application development using the Vaadin Framework and the Java Platform. But we’ll try to explain everything as much as possible. The version that we used to write this application is Vaadin 13, but this part of the API is almost the same since Vaadin 8, so it should be possible to use the same approach in older versions.&lt;/div>
&lt;div style="text-align: justify;">Setting up a Vaadin Grid, is really easy, just create an instance and then customize the columns, or even skip that part if your Pojo is sufficiently self-descriptive.&lt;/div>
&lt;div style="text-align: justify;">As an example, let’s assume that we want to show a grid with data for a person, which we can define as a simplified entity like this:&lt;/div>
&lt;p>&lt;/p></description></item></channel></rss>