Kobi Ianko has posted comments on this change.

Change subject: webadmin: Adding Quota column to the Disk tab
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.ovirt.org/#/c/25068/1/frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/disks/DisksViewColumns.java
File 
frontend/webadmin/modules/gwt-common/src/main/java/org/ovirt/engine/ui/common/widget/uicommon/disks/DisksViewColumns.java:

Line 56: 
Line 57:             String value = null;
Line 58:             if (object.getDiskStorageType() == DiskStorageType.IMAGE) {
Line 59:                 DiskImage diskImage = (DiskImage) object;
Line 60:                 value = diskImage.getQuotaName();
> I think you can use StringHelper.join() to easily display a serialized stri
StringHelper is deprecated, and we cannot use apache's StringUtils because its 
converted into java script and html (apache's code cannot be converted to java 
script).

I'll do it manually :(

In the future if we'll need more utility methods we can consider using the 
google gwt string util lib
Line 61:             }
Line 62:             return value;
Line 63:         }
Line 64:     };


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I2332da722396a16aca9545b9ef0532ebc84d8d5e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Kobi Ianko <[email protected]>
Gerrit-Reviewer: Doron Fediuck <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Kobi Ianko <[email protected]>
Gerrit-Reviewer: Lior Vernia <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to