Kanagaraj M has posted comments on this change.

Change subject: webadmin : Handle snapshot create multi-tab validation error
......................................................................


Patch Set 5:

(6 comments)

https://gerrit.ovirt.org/#/c/40680/5/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/GlusterVolumeSnapshotModel.java
File 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/gluster/GlusterVolumeSnapshotModel.java:

Line 84: validateModelsOnChangeEvent
This can be renamed to 'initValueChangeListeners'


Line 91: 
getSnapshotName().getEntityChangedEvent().addListener(onPropertyChangeValidate)
This listener gets invoked when the cursor is moved to the next field (on blur) 
or while typing itself?


Line 291: propName
You could use a boolean here. Something like 'inplaceValidate'. Then below fire 
different events based on this flag


https://gerrit.ovirt.org/#/c/40680/5/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/gluster/GlusterVolumeSnapshotCreatePopupView.java
File 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/gluster/GlusterVolumeSnapshotCreatePopupView.java:

Line 152: errorMsgLabel
scheduleTabErrorMessageLabel


Line 307: }
All of the above editor's properties are validated in the model?

I see only 3 validations in the model.


https://gerrit.ovirt.org/#/c/40680/5/frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/gluster/GlusterVolumeSnapshotCreatePopupView.ui.xml
File 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/section/main/view/popup/gluster/GlusterVolumeSnapshotCreatePopupView.ui.xml:

Line 104: errorMsgLabel
Rename this to scheduleTabErrorMessageLabel


-- 
To view, visit https://gerrit.ovirt.org/40680
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I88c05aa369758ce174b0dc85f83a253e608d6c0e
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: anmolbabu <anb...@redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com>
Gerrit-Reviewer: Ramesh N <rnach...@redhat.com>
Gerrit-Reviewer: Shubhendu Tripathi <shtri...@redhat.com>
Gerrit-Reviewer: anmolbabu <anb...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to