-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entity web resource #119
Milestone
Comments
The following HTTP methods should be supported:
|
jhou-pro
added a commit
that referenced
this issue
Jan 19, 2015
… interaction logic between Web UI and server. It includes server resources (EntityResource with entity retrieval) and (EntityValidationResource with entity modification / validation) and UI web components tg-entity-master and tg-entity-validator. Implemented full-featured testing server with which all Web UI tests interact.
jhou-pro
added a commit
that referenced
this issue
Jan 21, 2015
jhou-pro
added a commit
that referenced
this issue
Jan 21, 2015
…inition and lifecycle of that properties inside tg-entity-master.
Closed
jhou-pro
added a commit
that referenced
this issue
Feb 5, 2015
jhou-pro
added a commit
that referenced
this issue
Feb 5, 2015
…d is used istead of 'null' for entityid attribute.
jhou-pro
added a commit
that referenced
this issue
Feb 5, 2015
jhou-pro
added a commit
that referenced
this issue
Feb 5, 2015
…rocesses (validation, saving) after the user has changed the entity in the master. Reused it in saving process -- disregard saving for not modified entity (but invoke validation). Implemented simultaneous save exception throwing with appropriate message to the developer (about the need of blocking).
jhou-pro
added a commit
that referenced
this issue
Feb 5, 2015
This issue is considered to be implemented as part of Issue-#106 branch and has been merged into develop branch. All necessary functionality has been implemented including tg-entity-master client side counter-part for master lifecycle. Note (TODO): please make save action Web UI tests workable without repopulating db every time. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The lifecycle for entities on entity masters (and other views) includes several actions which should be implemented both at Web UI level and server side level. These entity actions include:
The items 1, 3 and 4 at the server side should be implemented as the Entity Web Resource and the item 2 -- as the Entity Validation Web Resource. Web UI component tg-entity-master should incorporate items 1, 3 and 4 at the client level and it should incorporate tg-entity-validator (with item 2) as its inner implementation detail (see #106).
It is crucial to perform smart validation as part of the saving process. Please note that validation is not needed in case when it was already done previously (as part of validation after the editor commit action) and there should be no UI blocking for the user.
It is worthwhile to mention that custom Entity Producer and custom Entity Fetch Strategy should be used for all entity related resources (#106, #115, #119) as it was discussed. It ensures consistency and reuse of that concepts across all entity resources.
The text was updated successfully, but these errors were encountered: