[Engine-patches] Change in ovirt-engine[master]: userportal: extended view->VM side tab->pool->applications s...

vszocs at redhat.com vszocs at redhat.com
Mon Mar 19 08:54:25 EDT 2012


Vojtech Szocs has submitted this change and it was merged.

Change subject: userportal: extended view->VM side tab->pool->applications subtab
......................................................................


userportal: extended view->VM side tab->pool->applications subtab

The applications for the pools where ignored in VmAppListModel.
This caused that the applications subtab shows nothing
when a pool is selected.

This patch enriches the VmAppListModel with the following logic:
- If the entity in the model is a VM, then fill the app list from the
  VM.getapp_list()
- If the entity is a vm_pools, then get a random VM for the pool and
  fill the app list from this VM.getapp_list()

Change-Id: I5f09dbcad9930657fb08b52f0cf5112e702565fc
---
M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/vms/VmAppListModel.java
1 file changed, 34 insertions(+), 15 deletions(-)

Approvals:
  Vojtech Szocs: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5f09dbcad9930657fb08b52f0cf5112e702565fc
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Vojtech Szocs <vszocs at redhat.com>


More information about the Engine-patches mailing list