src-wad/src/org/openbravo/wad/ActionButton_Responser.javaxml
changeset 1605 8a0fe0193bef
parent 1093 c9c5a6341849
child 1805 317f843b2033
equal deleted inserted replaced
1604:a1c518e6ed93 1605:8a0fe0193bef
   110       PrintWriter out = response.getWriter();
   110       PrintWriter out = response.getWriter();
   111       XmlDocument xmlDocument = xmlEngine.readXmlTemplate("org/openbravo/erpCommon/ad_actionButton/ActionButton<FIELD_TMP id="ButtonProcessId2">name</FIELD_TMP>", discard).createXmlDocument();
   111       XmlDocument xmlDocument = xmlEngine.readXmlTemplate("org/openbravo/erpCommon/ad_actionButton/ActionButton<FIELD_TMP id="ButtonProcessId2">name</FIELD_TMP>", discard).createXmlDocument();
   112       xmlDocument.setParameter("processing", "Y");
   112       xmlDocument.setParameter("processing", "Y");
   113       xmlDocument.setParameter("form", "ActionButton_Responser.html");
   113       xmlDocument.setParameter("form", "ActionButton_Responser.html");
   114       xmlDocument.setParameter("css", vars.getTheme());
   114       xmlDocument.setParameter("css", vars.getTheme());
   115       xmlDocument.setParameter("direction", "var baseDirection = \"" + strReplaceWith + "/\";\n");
   115       xmlDocument.setParameter("directory", "var baseDirectory = \"" + strReplaceWith + "/\";\n");
   116       xmlDocument.setParameter("language", "LNG_POR_DEFECTO = \"" + vars.getLanguage() + "\";\n");
   116       xmlDocument.setParameter("language", "defaultLang = \"" + vars.getLanguage() + "\";\n");
   117       xmlDocument.setParameter("cancel", Utility.messageBD(this, "Cancel", vars.getLanguage()));
   117       xmlDocument.setParameter("cancel", Utility.messageBD(this, "Cancel", vars.getLanguage()));
   118       xmlDocument.setParameter("ok", Utility.messageBD(this, "OK", vars.getLanguage()));
   118       xmlDocument.setParameter("ok", Utility.messageBD(this, "OK", vars.getLanguage()));
   119       
   119       
   120       {
   120       {
   121         OBError myMessage = vars.getMessage("<FIELD_TMP id="ProcessID2">xx</FIELD_TMP>");
   121         OBError myMessage = vars.getMessage("<FIELD_TMP id="ProcessID2">xx</FIELD_TMP>");