New icons

This is the new look of OpenXava: All modern applications use monochrome icons, so now your OpenXava applications will have a more modern look. The monochrome icons allow you to use the color to emphasize important data and actions in your application. Moreover, these icons are scalable, therefore when the user zooms the page the quaility is not altered. To define icons for your own actions you have to use icon instead of image when you define your action in controllers.xml, thus:

In this case you use delete as id for the icon. To see all the available icons look at Material Design Icons. Of course, the old image attribute is still supported, even more if you still prefer the old colorful icons you can configure OpenXava to use them.

Simplified UI for charts

Just three type of charts, no dialog, Y properties on top left and X property on bottom right. This is the new clean UI for charts:

Search box when adding new columns

We have optimized the adding columns dialog to work fine even with a huge amount of properties. For that, we have put a 20 properties limit for first dialog show (though the user can show all on demand) and we have added a search box to delimit the properties shown in real time just typing some letters:

Image editor for @ElementCollection

Therefore now you can apply the PHOTO stereotype to a property of an @Embeddable of an @ElementCollection, in this way:

@Embeddable public class CarPhoto {

@Stereotype("PHOTO") private byte [] photo;

@Column(length=50) private String description;

...

}

To get a user interface like this:

Other improvements

We have done a lot of improvements in other areas:

Added the library for auditing Hibernate Envers.

"empty" and "not empty" filters for list and collections.

Split mode starts with the first object selected, unless you come from detail mode.

New textWithSuffixEditor.jsp editor that allows put a suffix label after the field textbox.

CSS files in web/xava/editors/style are loaded automatically.

New methods assertNoWarnings() and assertNoInfos() in ModuleTestBase.

New useIconsInsteadOfImages property in xava.properties to choose between new monochrome icons or old color images.