Source:
<code>private void populateStatus(final List<GlusterGeoRepSessionDetails> details) { if(getConfirmWindow() != null) { closeConfirmWindow(); } if(getWindow() != null) { closeWindow(); } final VolumeGeoRepSessionDetailsModel windowModel = new VolumeGeoRepSessionDetailsModel(); <START> <END> final UIConstants constants = ConstantsManager.getInstance().getConstants(); windowModel.setTitle(constants.geoReplicationSessionDetailsTitle()); UICommand okCommand = new UICommand("closeWindow", this); okCommand.setIsCancel(true); okCommand.setTitle(constants.ok()); windowModel.getCommands().add(okCommand); final List<EntityModel<GeoRepSessionDetailsSummaryTableRow>> detailRows = new ArrayList<>(); for(final GlusterGeoRepSessionDetails detail : details) { AsyncDataProvider.getInstance().getGlusterVolumeBrickById(new AsyncQuery(new INewAsyncCallback() { @Override public void onSuccess(Object model, Object returnValue) { GlusterBrickEntity brick = (GlusterBrickEntity) returnValue; if(brick == null) { brick = new GlusterBrickEntity(); brick.setServerName(constants.notAvailableLabel()); } detailRows.add(new EntityModel<VolumeGeoRepSessionDetailsModel.GeoRepSessionDetailsSummaryTableRow>(new GeoRepSessionDetailsSummaryTableRow(brick.getServerName(), detail))); if(detailRows.size() == details.size()) { windowModel.getGeoRepSessionSummary().setItems(detailRows, detailRows.get(0)); setWindow(windowModel); } } }), detail.getMasterBrickId()); } }</code><technical_language>Set HashName HelpTag for pop up. required link links</technical_language>

Target:
private void populateStatus(final List<GlusterGeoRepSessionDetails> details) { if(getConfirmWindow() != null) { closeConfirmWindow(); } if(getWindow() != null) { closeWindow(); } final VolumeGeoRepSessionDetailsModel windowModel = new VolumeGeoRepSessionDetailsModel(); final UIConstants constants = ConstantsManager.getInstance().getConstants(); windowModel.setTitle(constants.geoReplicationSessionDetailsTitle()); UICommand okCommand = new UICommand("closeWindow", this); okCommand.setIsCancel(true); okCommand.setTitle(constants.ok()); windowModel.getCommands().add(okCommand); List<VdcQueryParametersBase> queryParamsList = new ArrayList<VdcQueryParametersBase>(); for(GlusterGeoRepSessionDetails detail : details) { queryParamsList.add(new IdQueryParameters(detail.getMasterBrickId())); } final List<EntityModel<GeoRepSessionDetailsSummaryTableRow>> detailRows = new ArrayList<>(); Frontend.getInstance().runMultipleQueries(Collections.singletonList(VdcQueryType.GetGlusterBrickById), queryParamsList , new IFrontendMultipleQueryAsyncCallback() { @Override public void executed(FrontendMultipleQueryAsyncResult result) { for (VdcQueryReturnValue returnValue : result.getReturnValues()) { for (GlusterGeoRepSessionDetails sessionDetail : details) { GlusterBrickEntity currentBrick = (GlusterBrickEntity) returnValue.getReturnValue(); if (sessionDetail.getMasterBrickId().equals(currentBrick.getId())) { detailRows.add(new EntityModel<VolumeGeoRepSessionDetailsModel.GeoRepSessionDetailsSummaryTableRow>(new GeoRepSessionDetailsSummaryTableRow(currentBrick.getServerName(), sessionDetail))); } } } if(detailRows.size() == details.size()) { windowModel.getGeoRepSessionSummary().setItems(detailRows, detailRows.get(0)); setWindow(windowModel); } } }); }