code: public void openPageOrWarn(String link, String target) {
  
          openPageOrWarn(link, target, CmsVaadinUtils.getMessageText(org.opencms.ui.Messages.GUI_POPUP_BLOCKED_0));
      }
docs: Tries to open a new browser window, and shows a warning if opening the window fails (usually because of popup blockers).<p>
  
  @param link the URL to open in the new window
  @param target the target window name