Lior Vernia has submitted this change and it was merged.

Change subject: webadmin: Change trigger for VnicProfileWidget ValueChangeEvent
......................................................................


webadmin: Change trigger for VnicProfileWidget ValueChangeEvent

VnicProfileWidget used to listen on its nameEditor's ValueChangeEvent
in order to fire a ValueChangeEvent on its own. However, when the
nameEditor's value was changed programmatically from its model,
UiCommonEditorVisitor would call an overload of nameEditor.setValue()
that would set the value without firing a ValueChangeEvent.

This patch registers directly to the model, so that the
programmatical change on the model side would trigger a
ValueChangeEvent of VnicProfileWidget.

Change-Id: I330c38ecedb0df6433491bedaeb7afdc2bd11ae5
Bug-Url: https://bugzilla.redhat.com/1114971
Signed-off-by: Lior Vernia <[email protected]>
---
M 
frontend/webadmin/modules/webadmin/src/main/java/org/ovirt/engine/ui/webadmin/widget/vnicProfile/VnicProfileWidget.java
1 file changed, 5 insertions(+), 2 deletions(-)

Approvals:
  Alona Kaplan: Looks good to me, approved
  Lior Vernia: Verified



-- 
To view, visit http://gerrit.ovirt.org/29526
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I330c38ecedb0df6433491bedaeb7afdc2bd11ae5
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Lior Vernia <[email protected]>
Gerrit-Reviewer: Alona Kaplan <[email protected]>
Gerrit-Reviewer: Lior Vernia <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to