private void populateControlsData() { form.txtEmailAddress().setValue(form.getGlobalContext().Admin.getUserNotificationSettings().getEmail()); form.txtMobilePhone().setValue(form.getGlobalContext().Admin.getUserNotificationSettings().getMobilePhone()); MobileDeviceVoCollection mobileDevices = form.getGlobalContext().Admin.getUserNotificationSettings().getMobileDevices(); if(mobileDevices != null) { for(int x = 0; x < mobileDevices.size(); x++) { GenForm.grdMobileDevicesRow row = form.grdMobileDevices().getRows().newRow(); row.setcolName(mobileDevices.get(x).getName()); row.setcolModel(mobileDevices.get(x).getModel()); row.setcolActive(mobileDevices.get(x).getActive()); } } }