Welcome!

IBM Cloud Authors: Yeshim Deniz, Zakia Bouachraoui, Liz McMillan, Elizabeth White, Pat Romanski

Related Topics: IBM Cloud

IBM Cloud: Article

OpenXava 4.9 Released

Open Source Framework for Rapid Development of WebSphere Applications

OpenXava is an Open Source Framework for Rapid Development of WebSphere Applications.

In OpenXava you only have to write the domain classes in plain Java to get a web application ready to be deployed into WebSphere Application Server or WebSphere Portal.

OpenXava 4.9 has many new interesting features such as:

  • We have improved the list with better behavior, new filter options and some style improvements.
  • PDF reports now are better adjusted, so most automatic reports are ready to be used.
  • 'My reports' has more options and it's easier to use. Now you can use your OpenXava application as a reporting tool.
  • Many other improvements and bug fixes.

We recommend you to download it and upgrade your OpenXava applications. Look at the migration instructions.

List improvements

These are the improvement for list and collections:

  • Combos and textfields in list filtering adapt their widths to the column and they are always completely visible.
  • 'in group' and 'not in group' (the 'in' of SQL) allowed to filter in list, collections and 'My reports'.
  • Link to hide filter is in the filter row itself.
  • Links to show and hide the filter are only visible in customization mode. Thus we have a less cluttered user interface.
  • New icons for customizing list and collections.
  • Paging in list and collections allows 12 rows per page. Useful if you have a row per month.

Now list mode of OpenXava is still better.

Improvements in automatic PDF reports

These are the automatic PDF reports improvements:

  • Algorithm to adjust columns optimized: right column is better adjusted and columns that not fit are dropped.
  • Width of columns is calculated from the real content, not from declaration.
  • Long labels can use several lines if needed.
  • Reports with no data show a page with an informative message instead of an empty report.
  • Reports use qualified labels for column header, just as list mode.
  • Detail line height optimized.

In this way, more automatic reports are ready to be used, therefore the programmers have to create less reports by hand.

Improvements in 'My reports'

These are the 'My reports' improvements:

  • The combo for adding columns only shows until second level properties by default.
  • Labels instead of internal names in combo for adding new columns.
  • Initial condition and ordering are populated from the current list.
  • Duplicate columns allowed to filter by range or complex conditions, though only one is shown in the report.
  • Dialog title of column editing improved.
  • Refactoring of 'My reports' code (CustomReport renamed to MyReport) that produces the loss of current stored user reports.


Thanks to these improvements in 'My reports' and PDF generation your users can use your OpenXava application as a tool for creating their own reports.

Others improvements

We have done a lot of improvements in other areas:

  • @AssertTrue message can be customized, even values of properties of the current entity can be used.
  • When a ConstraintViolationException is thrown the message to the user is obtained from the constraint definition.
  • @Size validation annotations produces a more significative message.
  • Support for multivalue editors with checkboxes.
  • It's possible to exclude the HTML head code when calling a module using htmlHead=false as argument.
  • Order for properties when no @View is defined is consistent for all Java vendors.
  • Subcontrollers are not shown when they have no action.
  • Style of subcontrollers improved.
  • Subcontrollers behavior improved: now they are closed on clicking again on the button or outside the popup menu.
  • Code for buttonBar.jsp and subButton.jsp downgraded to Java 1.4.
  • New TypicalNewOnInit controller that starts the module in detail mode ready to create a new entity.
  • New methods addDays(), lastOfYear(), lastOfMonth() and firstOfMonth() added to Dates.

Bug fixes

Though this is not a maintenance version we have done some fixes:

  • Fix: Methods setYear(), setMonth() and setDay() of Dates do not work.
  • Fix: Wrong OpenXava version number when using some third party libraries.
  • Fix: Filtering in list by Timestamp or DATETIME does not allows to specify the time part.
  • Fix: Totals in automatic PDF reports use two lines when the number is too large.
  • Fix: Little vertical white bar in subcontroller button.

Download OpenXava 4.9

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.

IoT & Smart Cities Stories
According to Forrester Research, every business will become either a digital predator or digital prey by 2020. To avoid demise, organizations must rapidly create new sources of value in their end-to-end customer experiences. True digital predators also must break down information and process silos and extend digital transformation initiatives to empower employees with the digital resources needed to win, serve, and retain customers.
Early Bird Registration Discount Expires on August 31, 2018 Conference Registration Link ▸ HERE. Pick from all 200 sessions in all 10 tracks, plus 22 Keynotes & General Sessions! Lunch is served two days. EXPIRES AUGUST 31, 2018. Ticket prices: ($1,295-Aug 31) ($1,495-Oct 31) ($1,995-Nov 12) ($2,500-Walk-in)
Business professionals no longer wonder if they'll migrate to the cloud; it's now a matter of when. The cloud environment has proved to be a major force in transitioning to an agile business model that enables quick decisions and fast implementation that solidify customer relationships. And when the cloud is combined with the power of cognitive computing, it drives innovation and transformation that achieves astounding competitive advantage.
Machine learning has taken residence at our cities' cores and now we can finally have "smart cities." Cities are a collection of buildings made to provide the structure and safety necessary for people to function, create and survive. Buildings are a pool of ever-changing performance data from large automated systems such as heating and cooling to the people that live and work within them. Through machine learning, buildings can optimize performance, reduce costs, and improve occupant comfort by ...
René Bostic is the Technical VP of the IBM Cloud Unit in North America. Enjoying her career with IBM during the modern millennial technological era, she is an expert in cloud computing, DevOps and emerging cloud technologies such as Blockchain. Her strengths and core competencies include a proven record of accomplishments in consensus building at all levels to assess, plan, and implement enterprise and cloud computing solutions. René is a member of the Society of Women Engineers (SWE) and a m...
IoT is rapidly becoming mainstream as more and more investments are made into the platforms and technology. As this movement continues to expand and gain momentum it creates a massive wall of noise that can be difficult to sift through. Unfortunately, this inevitably makes IoT less approachable for people to get started with and can hamper efforts to integrate this key technology into your own portfolio. There are so many connected products already in place today with many hundreds more on the h...
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As automation and artificial intelligence (AI) power solution development and delivery, many businesses need to build backend cloud capabilities. Well-poised organizations, marketing smart devices with AI and BlockChain capabilities prepare to refine compliance and regulatory capabilities in 2018. Volumes of health, financial, technical and privacy data, along with tightening compliance requirements by...
Charles Araujo is an industry analyst, internationally recognized authority on the Digital Enterprise and author of The Quantum Age of IT: Why Everything You Know About IT is About to Change. As Principal Analyst with Intellyx, he writes, speaks and advises organizations on how to navigate through this time of disruption. He is also the founder of The Institute for Digital Transformation and a sought after keynote speaker. He has been a regular contributor to both InformationWeek and CIO Insight...
Digital Transformation is much more than a buzzword. The radical shift to digital mechanisms for almost every process is evident across all industries and verticals. This is often especially true in financial services, where the legacy environment is many times unable to keep up with the rapidly shifting demands of the consumer. The constant pressure to provide complete, omnichannel delivery of customer-facing solutions to meet both regulatory and customer demands is putting enormous pressure on...
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...