Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Clara - Declarative UI and Bindings for Vaadin Framework

Teemu Pöntelin
9 years ago Jun 12, 2012 5:09pm

Hi,

I have been working on a declarative XML-based language for Vaadin user interface definitions. Also as a by-product I have implemented an annotation-based way to declaratively bind methods to work as a data source or an event handler for a Vaadin component. The work has largely been inspired by the xmlui add-on by Joonas Lehtinen.

Best place to get started is to download the JAR from Directory and then read the README (including quickstart instructions) at the Clara project page. Also I deployed an online demo application that can be used for playing around with the XML syntax.

Currently the project is in a very early stage but I still wanted to release something early to get some feedback from the Vaadin community. So, please let me know if you try out the add-on and have any questions/ideas/feedback. Thanks!

*) The project logo is a reference to one of my favorite movies Back to the Future (part III).

Last updated on Jun, 12th 2012
Joonas Lehtinen
9 years ago Jun 12, 2012 5:57pm
Andreas Höhmann
9 years ago Jun 12, 2012 9:21pm
Teemu Pöntelin
9 years ago Jun 13, 2012 6:21am
Alper Turkyilmaz
9 years ago Jun 13, 2012 6:24am
Teemu Pöntelin
9 years ago Jun 13, 2012 6:42am
Johannes Häyry
9 years ago Jun 13, 2012 6:54am
Teemu Pöntelin
9 years ago Jun 13, 2012 1:44pm
Dmitri Livotov
9 years ago Jun 27, 2012 3:15pm
Teemu Pöntelin
9 years ago Jul 20, 2012 2:25pm
Zhilin Alexander
9 years ago Aug 06, 2012 1:21pm
Teemu Pöntelin
9 years ago Aug 15, 2012 8:53pm
Teemu Pöntelin
9 years ago Sep 17, 2012 9:13am
Teemu Pöntelin
9 years ago Oct 28, 2012 5:20pm

Hi,

I just released the version 0.3.0 of my Clara add-on. If you are already using Clara, your application will need some changes for this version. See below for release notes (also listed in the Vaadin Directory page) and more detailed instructions on the Quickstart.

Clara 0.3.0 (released October 28th 2012)
■ Namespace "urn:vaadin:com.vaadin.ui" is now "urn:package:com.vaadin.ui".
■ The namespace of core Vaadin components (mentioned above) is now also optional.
■ Naming convention for layout attributes (for example "layout_componentAlignment") is now replaced with a proper namespace "urn:vaadin:layout" (see examples for details).
■ The id attribute is now mapped to debugId property of Vaadin components.
■ New class Clara now acts a public API simplifying the usage of this add-on to few static method calls.
■ InflatedCustomComponent class is now gone and Clara always returns the actual root component.
■ Improved demo application.

As always, please let me know if you have any comments or questions about my add-on. Also note that currently only Vaadin 6.x is supported but Vaadin 7.x support is coming soon.

Last updated on Oct, 28th 2012
Anthony Davie
9 years ago Nov 28, 2012 4:01pm
Teemu Pöntelin
9 years ago Nov 29, 2012 7:29am
Anthony Davie
9 years ago Dec 01, 2012 6:58am
Anthony Davie
9 years ago Mar 11, 2013 9:31am
Teemu Pöntelin
9 years ago Mar 11, 2013 9:41am
Anthony Davie
9 years ago Mar 11, 2013 10:33am
Teemu Pöntelin
9 years ago Mar 11, 2013 11:03am
Teemu Pöntelin
9 years ago Mar 17, 2013 9:05pm
Teemu Pöntelin
8 years ago Apr 19, 2013 11:21am

Ten months after the first experimental version was uploaded into the Vaadin Directory, I finally released the first stable 1.0.0 version of Clara add-on today.

Many thanks for all the feedback, contributions, bug reports and ideas I've gotten from the community. Of course the work does not stop here and I already have some ideas for future releases. I'm also planning to improve the documentation and provide more comprehensive tutorials.

Download the add-on from Vaadin Directory or use Maven/Ivy and let me know what you think. Thanks!

- Teemu

Edoardo Vacchi
8 years ago Jul 16, 2013 9:01am
Petrus Viljoen
8 years ago Jul 16, 2013 10:39am
André Silva
8 years ago Aug 05, 2013 8:25pm
Teemu Pöntelin
8 years ago Aug 12, 2013 1:07pm
Sean True
8 years ago Aug 12, 2013 2:33pm
Sean True
8 years ago Aug 12, 2013 8:32pm
Oscar Diez
8 years ago Sep 23, 2013 7:11pm
Teemu Pöntelin
8 years ago Sep 24, 2013 6:23am
Kai Stapel
8 years ago Oct 01, 2013 2:54pm
Teemu Pöntelin
8 years ago Oct 02, 2013 5:42am
kartik mahadevan
8 years ago Mar 01, 2014 3:58pm
Winfried Stenzel
8 years ago Mar 20, 2014 8:17am
Tamás Kimmel
8 years ago Apr 13, 2014 2:55pm

Hi,

I have created a maven plugin to generate xml schemas for clara.
https://github.com/kumm/claraxsd-maven-plugin

Feedback is welcome.

Teemu Pöntelin
8 years ago Apr 14, 2014 7:05am
Winfried Stenzel
8 years ago Apr 14, 2014 8:08am
Webstar Csoport
8 years ago Apr 14, 2014 9:02am
Winfried Stenzel
8 years ago Apr 15, 2014 6:50am