You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I recall correctly, the CRUD mini-framework requires that for listing entity instances that are put in the trash can for deletion. Is this really necessary?
Suggestion: when creating the trash can, ask if selectedEntity instanceof Comparable. If true, use a SortedSet, otherwise use a regular Set.
Also, check the data table components used in the listing and in the trash. It might be interesting to use a data table that automatically sorts the entities...
The text was updated successfully, but these errors were encountered:
If I recall correctly, the CRUD mini-framework requires that for listing entity instances that are put in the trash can for deletion. Is this really necessary?
Suggestion: when creating the trash can, ask if
selectedEntity instanceof Comparable
. Iftrue
, use aSortedSet
, otherwise use a regularSet
.Also, check the data table components used in the listing and in the trash. It might be interesting to use a data table that automatically sorts the entities...
The text was updated successfully, but these errors were encountered: