Package net.tangly.ui.components


package net.tangly.ui.components
The application can be used by mvn install (once) mvn (to run the application) The package provides a CRUD component for entities. Entities can have
  • A list displaying a list of entities with selected fields.
  • A tabbed details view showing simple fields view, comments view, tags view. The comments and tags view display again a list of values.
  • All custom components are extended to support setting a null value. The syntax is set a new value or clear the content.

The composite field abstractions cover two scenarios. Composite fields for immutable entities cannot use a binder. We provide a validator method to return validation logic for all internal fields. Regular beans providing at least getters for fields can be connected with a binder. Here we provide a binding method to connect the bean fields with converters and validators declared in the binder.

Care was taken to support cascading read-only and editing modes for all details views.