code: protected void openWorkplaceLink(String workplaceLink) throws IOException {
  
          // in case the close link points to the new workplace, make sure to set the new location on the top frame
          JspWriter out = getJsp().getJspContext().getOut();
          try {
              out.write(
                  "<html><head><script type=\"text/javascript\">top.location.href=\""
                      + workplaceLink
                      + "\";</script></head>\n");
              out.write("</html>\n");
          } finally {
              out.close();
          }
      }
docs: Opens a workplace UI link in the top frame.<p>
  
  @param workplaceLink the workplace link to open
  
  @throws IOException in case writing to the JSP output stream fails