src-wad/src/org/openbravo/wad/Template_Edition.html
author Juan Pablo Aroztegi <juanpablo.aroztegi@openbravo.com>
Wed, 03 Sep 2008 17:55:37 +0000
changeset 1605 8a0fe0193bef
parent 1325 af371d42d754
child 1706 caeaa9ad332e
permissions -rw-r--r--
Merge r2.5x intro trunk
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/Dtd/xhtml1-transitional.dtd">
<!--
 *************************************************************************
 * The contents of this file are subject to the Openbravo  Public  License
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
 * Version 1.1  with a permitted attribution clause; you may not  use this
 * file except in compliance with the License. You  may  obtain  a copy of
 * the License at http://www.openbravo.com/legal/license.html 
 * Software distributed under the License  is  distributed  on  an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific  language  governing  rights  and  limitations
 * under the License. 
 * The Original Code is Openbravo ERP. 
 * The Initial Developer of the Original Code is Openbravo SL 
 * All portions are Copyright (C) 2001-2006 Openbravo SL 
 * All Rights Reserved. 
 * Contributor(s):  ______________________________________.
 ************************************************************************
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><TITLE_TMP id="tab">Window Title</TITLE_TMP></title>
<LINK rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Main/Main_Edition.css" id="paramCSS"/>
<FIELD_TMP id="importCSS"></FIELD_TMP>
<script language="JavaScript" type="text/javascript" id="paramDirectory">
var baseDirectory = "../../../../../web/";
</script>
<script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
<SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
<script language="JavaScript" type="text/javascript" id="paramLanguage">
  defaultLang = "en_US";
</script>
<SCRIPT language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/appStatus.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
<FIELD_TMP id="importJS"></FIELD_TMP>
<script language="JavaScript" type="text/javascript">
function validate(action, form, value) {
  var frm=document.frmMain;
  var key = eval("document.frmMain." + frm.inpKeyName.value);
  return validateClient(action, form, value);
}
</script>
<script language="JavaScript" type="text/javascript" id="selectedColumn"></script>
<!-- START OLD KEY DEFINITION

<script language="JavaScript" type="text/javascript" id="keyMap"></script>

END OLD KEY DEFINITION -->
<script language="JavaScript" type="text/javascript" id="fieldScript"></script>


<SCRIPT language="JavaScript" id="scriptOnLoad" type="text/javascript">
 function buttonListShorcuts() {
   return true;
 }
</SCRIPT>
<script language="JavaScript" type="text/javascript" id="fieldOnLoadFocusScript">
  function onLoadDo() {
    this.windowTables = new Array(
      new windowTableId('client')
    );
    setWindowTableParentElement();
    this.tabsTables = new Array(
      new tabTableId('tdtopTabs')
    );
    setTabTableParentElement();
    enableShortcuts('edition');
    setBrowserAutoComplete(false);
    resizeArea();
    updateMenuIcon('buttonMenu');
    try {
      onloadClient();
    } catch (e) {}
    try {
      setWindowEditing(false);
    } catch (e) {}
    setFocusFirstElement();
    buttonListShorcuts();
    xx();
    
  }

  function onResizeDo() {
    resizeArea();
  }
</script>

</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onLoad="onLoadDo(); zz" onresize="onResizeDo();" id="paramMessageAlert">
<form id="form" method="POST" action="Window_Edition.html" name="frmMain">
  <input type="hidden" name="Command">
  <input type="hidden" name="inpCommandType" value="" id="paramCommandType">
  <input type="hidden" name="inpTabId" value="" id="fieldTabId">
  <input type="hidden" name="inpParamSessionDate" value="" id="paramSessionDate">
  <input type="hidden" name="inpLastFieldChanged" id="paramChanged" value="">
  <input type="hidden" name="inpwindowId" value="" id="paramWindowId">
  <input type="hidden" name="inpkeyColumnId" value="" id="fieldKey">
  <input type="hidden" name="inpTableId" value="" id="paramTableId">
  <input type="hidden" name="inpKeyName" value="inpxx" id="fieldhiddenKeyName">
  <input type="hidden" name="inpkeyColumnIdInp" value="" id="inpkeyColumnId">
  <input type="hidden" name="inpKeyReferenceColumnName">
  <input type="hidden" name="inpTableReferenceId">
  <input type="hidden" name="inpKeyReferenceId">
  <input type="hidden" name="inpSecondKey">
  <input type="hidden" name="inpParentKeyColumn" id="parent" value="">
  <PARAMETER_TMP id="hasParent"><input type="hidden" name="inpParentOrganization" id="parentOrg" value=""></PARAMETER_TMP> 
  <PARAMETER_TMP id="hasOrgKey"><input type="hidden" name="inpCurrentOrgId" id="paramCurrentOrgId" value=""></PARAMETER_TMP>  
  <FIELD_TMP id="hiddenControlDesign"></FIELD_TMP>
  <table height="100%" border="0" cellpadding="0" cellspacing="0" id="main">
    <tr>
      <td valign="top" id="tdleftTabs"></td>
      <td valign="top">
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Left">
          <TR><TD class="Main_NavBar_bg_left" id="tdleftSeparator"></TD></TR>
          <TR><TD class="Main_ToolBar_bg_left" valign="top"></TD></TR>
          <TR><TD class="Main_Client_bg_left"></TD></TR>
          <TR><TD class="Main_Bottom_bg_left"></TD></TR>
        </TABLE>
      </td>
      <td valign="top">
        <div class="Main_ContentPane_NavBar" id="tdtopButtons"></div>
        <div class="Main_ContentPane_ToolBar" id="paramToolBar"></div>
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_TabPane" id="tdtopTabs">
          <TR id="paramParentTabContainer"></TR>
          <TR id="paramMainTabContainer"></TR>
          <TR id="paramChildTabContainer"></TR>
        </TABLE>
        <DIV class="Main_ContentPane_Client" style="overflow: auto; display: none;" id="client">
          <TABLE summary="" id="sectionDetail">
            <TR>
              <TD>
                <!-- MessageBox -->
                <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
  <TBODY>
  <tr class="MessageBox_TopMargin">
    <td class="MessageBox_LeftMargin"></td>
    <td></td>
    <td class="MessageBox_RightMargin"></td>
  </tr>
  <tr>
    <td class="MessageBox_LeftMargin"></td>
    <td>

      <table cellpadding="0" cellspacing="0" style="width: 100%;">
        <TBODY>
        <tr>
          <td>
            <div class="MessageBox_TopLeft"></div>
            <div class="MessageBox_Left"></div>
          </td>
          <td class="MessageBox_bg">

            <table class="MessageBox_Top">
            <TBODY>
              <tr>
                <td>
                  <span>
                  <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
                    <TBODY>
                    <tr>
                      <td class="MessageBox_Icon_ContentCell">
                        <div class="MessageBox_Icon"></div>
                      </td>
                      <td style="vertical-align: top;" id="messageBoxIDContent">
                        <span>
                          <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
                            Info: AccessTableWithNoView
                          </div>
                          <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
                            The current information is empty.
                          </div>
                          <div class="MessageBox_TextSeparator"></div>
                        </span>
                      </td>
                    </tr>
                    </TBODY>
                  </table>
                  </span>
                </td>
              </tr>
              </TBODY>
            </table>

          </td>
          <td class="MessageBox_RightTrans">
            <div class="MessageBox_TopRight"></div>
            <div class="MessageBox_Right"></div>
          </td>
        </tr>
        <tr>
          <td rowspan="2" class="MessageBox_BottomLeft">
          </td>
          <td class="MessageBox_BottomTrans MessageBox_bg">
          </td>
          <td rowspan="2" class="MessageBox_BottomRight">
          </td>
        </tr>
        <tr>
          <td class="MessageBox_Bottom">
          </td>
        </tr>
        </TBODY>
      </table>

    </td>
    <td class="MessageBox_RightMargin"></td>
  </tr>
  <tr class="MessageBox_BottomMargin">
    <td class="MessageBox_LeftMargin"></td>
    <td></td>
    <td class="MessageBox_RightMargin"></td>
  </tr>
  </TBODY>
</table>
                <table width="100%" cellspacing="0" cellpadding="0" border ="0" class="Main_Client_TableEdition">
                  <FIELD_TMP id="controlDesign"></FIELD_TMP>
                </table>
              </TD>
            </TR>
          </TABLE>
        </div>
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Menu_ContentPane_Bottom" id="tdbottomSeparator">
          <TR>
            <TD class="Main_Bottom_bg"><IMG src="../../../../../web/images/blank.gif" border="0"></TD>
          </TR>
        </TABLE></td>
      <td valign="top">
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Right" id="tdrightSeparator">
          <TR><TD class="Main_NavBar_bg_right"></TD></TR>
          <TR><TD class="Main_ToolBar_bg_right" valign="top"></TD></TR>
          <TR><TD class="Main_Client_bg_right"></TD></TR>
          <TR><TD class="Main_Bottom_bg_right"></TD></TR>
        </TABLE>
      </td>
    </tr>
  </table>
</form>
</body>
</html>