Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Add example of complex cancel creation action (with "draft" flag filter) #75

Open
abratashev opened this issue May 19, 2022 · 0 comments

Comments

@abratashev
Copy link
Member

abratashev commented May 19, 2022

In continuation of #74, for more complex situations, creation of entity is splitted on a few views with child widgets.
For that cases we can't use "cancel-create", because BcStateAware cache currently can't store DTO hierarchy between views.
But we can "hide" non-completed records with implicit filter, for example, with getParentSpecification() method.
We can define "draft" flag that will be "true" throughout the whole creation process, and disable that flag after we complete the record.

For check this concept, we can use "Client" creation views

@abratashev abratashev changed the title Add example of complex cancel creation action, with "draft" filter Add example of complex cancel creation action (with "draft" flag filter) May 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant