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.
-
ClassDescriptionA composite field to update an immutable entity.A composite field to update an immutable bonk connection entity.A view for a list of objects.EntityField<T extends net.tangly.core.Entity>Provides a composite field for the properties of an entity object or a subclass of an entity abstraction.EntityFilter<T extends net.tangly.core.Entity>Define a canonical filter for entities.EntityForm<T extends net.tangly.core.Entity,
V extends EntityView<T>> Creates the form for a simple entity or a full entity.EntityView<T extends net.tangly.core.Entity>The CRUD view for a domain entity.HasBindValue<T>Defines an abstraction which binds property values of an entity to a binder object.Defines the CRUD contract for a form used to display or modify an entity.ItemView<T>The entity view displays a list of entities in a grid.Filter to select a subset of entities based on one or more property values of the desired items.Define the modes of the item view.The view displays all items of a property backed by a collection.One2ManyReferencesField<T extends net.tangly.core.Entity>The view displays all items of a property backed by a collection.One2OneField<T extends net.tangly.core.Entity>A composite field to display a one-2-one relationship instance.The tags view is a Crud view with all the tags defined for an entity.