code: public boolean printData(PrintWriter out, int iHtmlAttributes)
      {
          boolean bFieldsFound = false;
          String strXml = this.getProperty(DBParams.XML);                // Html page
          if (strXml == null)
              strXml = this.getProperty(DBParams.TEMPLATE);
          if (DBConstants.BLANK.equals(strXml))
              strXml = null;
          if (strXml != null)
          {
              if ((strXml.indexOf(':') == -1) && (strXml.charAt(0) != '/'))
              {
                  String strLanguage = ((BaseApplication)this.getTask().getApplication()).getLanguage(false);
                  if (strLanguage == null)
                      strLanguage = Constants.BLANK;
                  if (strLanguage.length() > 0)
                      strLanguage += "/";
                  strXml = strLanguage + strXml;  // DBConstants.kxxx;
              }
              InputStream streamIn = this.getTask().getInputStream(strXml);
              this.parseStreamPrintHtml(out, streamIn);
          }
          else
              return super.printData(out, HtmlConstants.HTML_DISPLAY);     // DO print screen
          return bFieldsFound;
      }
docs: Code to display a Menu.
  @exception DBException File exception.