Welcome!

Eclipse Authors: Liz McMillan, Lacey Thoms, Jayaram Krishnaswamy, RealWire News Distribution, Lev Lesokhin

Related Topics: Java, Open Source

Java: Article

OpenXava 4.3: Rapid Java Web Development

OpenXava 4.3 adds support for total properties in collections

OpenXava is a framework for Rapid Java Web Development, well-suited for business and database oriented applications.

OpenXava allows you develop applications just by writing simple domain classes with Java or Groovy. The user interface is generated automatically in runtime, without code generation.

OpenXava 4.3 adds support for total properties in collections, it has a new editor for HTML_TEXT stereotype, add info and warning messages and some other useful new features.

Total properties in collections
Now you can use square brakets in @ListProperties to asociate one or more properties of the container entity to a property of the collection. In this way you can add arbitrary values as totals.

Read more about total properties in the wiki.

New editor for HTML_TEXT
Apart from upgrading to the latest CKEditor version, now the editor is embedded in the view instead of using a popup windows. Therefore, if you write:

@Stereotype("HTML_TEXT")
private String recipe;

You get:

New message types
In addition to the classic addError() and addMessage() now you can use addWarning() and addInfo() from an action. So, if you write a code like this one:

addError("this_is_an_error");
addWarning("this_is_a_warning");
addMessage("this_is_a_message");
addInfo("this_is_an_info");

You get:

These are only some of the new features, you can view the full list in the changelog.

More Stories By Javier Paniza

Javier Paniza is the project lead for OpenXava project. He works as software developer at Gestión 400, a software company for public administration in Spain. He has been developing with Java Enterprise since 1998. Also he has been J2EE mentor for development teams in banking projects.