/** Requests the service for the Palette DTOs, and shows the results.<br> */
  private void tryGetPalette() {
    util.mask(pmsMessages.mskPalette());

    AsyncCallback<List<PaletteDTO>> callback =
        new AsyncCallback<List<PaletteDTO>>() {

          public void onSuccess(List<PaletteDTO> arg0) {
            List<PaletteModelData> lPaletteModelData = new LinkedList<PaletteModelData>();
            for (PaletteDTO dto : arg0) {
              lPaletteModelData.add(new PaletteModelData(dto));
            }
            sGrid.removeAll();
            sGrid.add(lPaletteModelData);

            util.unmask();
          }

          /*
           * (non-Javadoc)
           *
           * @see com.google.gwt.user.client.rpc.AsyncCallback#onFailure(java.lang.Throwable)
           */
          public void onFailure(Throwable arg0) {
            util.unmask();
            errorProcessor.processError(arg0, null, pmsMessages.msgErrorRetrievePalette());
          }
        };

    pagesService.getPalette(portalPagesLoc, callback);
  }
  private void initThis() {
    setLayout(new FitLayout());

    String mapString = pmsMessages.mapFilterTypes();
    mapFilterTypes = new HashMap<String, String>();
    for (String s : mapString.split(",")) {
      String[] entry = s.trim().split("=");
      if (!Util.emptyString(entry[0])) {
        mapFilterTypes.put(entry[0], entry[1]);
      }
    }
  }