Package net.tangly.ui.components


package net.tangly.ui.components
Mvn install can use the application (once) mvn (to run the application) The package provides a CRUD domain 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.

  • Class
    Description
    A composite field to update an immutable entity.
    Define a display and edit field for AsciiDoc text.
    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>>
    Create the form for a simple entity or a full entity.
    EntityView<T extends net.tangly.core.Entity>
    The CRUD view for a domain entity.
    Defines a grid menu abstraction to support a dynamic context menu in item views.
    Defines the type of menu items.
    Defines an abstraction which binds property values of an entity to a binder object.
    ItemForm<T,U extends ItemView<T>>
    Defines the CRUD contract for a form used to display or modify an entity.
    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.
    Defines an HTML link with a test and a reference.
    Define the modes of the item view.
    MutableEntityForm<T extends net.tangly.core.MutableEntity,V extends EntityView<T>>
    Creates the form for a simple entity or a full entity.
    The view displays all items of a property backed by a collection.
    One2ManyReferencesField<T extends net.tangly.core.MutableEntity>
    The view displays all items of a property backed by a collection.
    One2OneField<T extends net.tangly.core.MutableEntity>
    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.