Welcome!

.NET Authors: Michael Bushong, Tad Anderson, Ivan Antsipau, Liz McMillan, Pat Romanski

Related Topics: Java, Open Source, Eclipse, AJAX & REA

Java: News Item

OpenXava 4.6: Rapid Java Web Development

OpenXava allows you to develop applications just by writing simple domain classes with Java or Groovy

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

OpenXava allows you to 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.6 has some new interesting features such as:

  • Custom reports generation from list.

  • It's possible to customize the list mode defining your own editor.

  • You can assign a model object (an entity or a transient object) directly to a View to populate it.

  • In the jUnit tests you can assert the content of generated PDFs

  • New @RowAction annotation for collections.

  • Labels and messages available in Russian.

  • The file name for generated reports includes model name and time.

And many other useful new features and bug fixes.

Custom reports generation from list

In list mode there is a new action called Custom report:

When the user clicks on it he gets the next dialog:

This dialog allows the user to define his own report. He can add and remove columns, specify filters, ordering and set the report title. It's true that the features are almost the same of the already existing Generate PDF, because the user has always been able to add, remove and move columns, and filter and order in the list. Maybe the only advantage of the new UI is that the user can specify ordering for more than 2 columns and that he can specify the report title. The important thing is that this new UI for reporting will allow us to add new interesting features in future versions, such as storing the reports by name to recover them afterwards, specifying labels and width for columns, using hidden columns for filtering and ordering, etc.

Custom editors for list mode
The standard list mode is very powerful and suitable for most case, but sometimes you need something special for your list. To meet this necessity we have added the possibility to define custom editors for @Tabs. Therefore, if you want the customers list would be displayed in this way:

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.