src/org/openbravo/erpCommon/ad_forms/EdiFileImport.html
author Gorka Gil <gorka.gil@openbravo.com>
Mon, 26 May 2008 11:32:48 +0000
changeset 1028 8b85368639cc
parent 961 e244d7005cd9
child 1044 8691bbc94032
permissions -rw-r--r--
Manual windows of bug 0000436 Blank required fields don't take the focus
juanpablo@378
     1
<?xml version="1.0" encoding="UTF-8"?>
juanpablo@378
     2
<!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/Dtd/xhtml1-transitional.dtd">
juanpablo@378
     3
<!--
juanpablo@378
     4
 *************************************************************************
juanpablo@378
     5
 * The contents of this file are subject to the Openbravo  Public  License
juanpablo@378
     6
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
juanpablo@378
     7
 * Version 1.1  with a permitted attribution clause; you may not  use this
juanpablo@378
     8
 * file except in compliance with the License. You  may  obtain  a copy of
juanpablo@378
     9
 * the License at http://www.openbravo.com/legal/license.html 
juanpablo@378
    10
 * Software distributed under the License  is  distributed  on  an "AS IS"
juanpablo@378
    11
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
juanpablo@378
    12
 * License for the specific  language  governing  rights  and  limitations
juanpablo@378
    13
 * under the License. 
juanpablo@378
    14
 * The Original Code is Openbravo ERP. 
juanpablo@378
    15
 * The Initial Developer of the Original Code is Openbravo SL 
juanpablo@378
    16
 * All portions are Copyright (C) 2001-2006 Openbravo SL 
juanpablo@378
    17
 * All Rights Reserved. 
juanpablo@378
    18
 * Contributor(s):  ______________________________________.
juanpablo@378
    19
 ************************************************************************
juanpablo@378
    20
-->
juanpablo@378
    21
<html xmlns="http://www.w3.org/1999/xhtml">
juanpablo@378
    22
<HEAD>
juanpablo@378
    23
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
juanpablo@378
    24
<TITLE>Import file</TITLE>
juanpablo@378
    25
<LINK rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico" type="image/x-icon"/>
juanpablo@378
    26
<link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Main/Main_Manual.css" id="paramCSS"/>
juanpablo@378
    27
<script language="JavaScript" type="text/javascript" id="paramDirection">
juanpablo@378
    28
var baseDirection = "../../../../../web/";
juanpablo@378
    29
</script> 
juanpablo@378
    30
<SCRIPT language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></SCRIPT>
juanpablo@378
    31
<SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
juanpablo@378
    32
<script language="JavaScript" type="text/javascript" id="paramLanguage">
juanpablo@378
    33
  var LNG_POR_DEFECTO = "en_US";
juanpablo@378
    34
</script>
asier@528
    35
<script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
asier@528
    36
<script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
asier@528
    37
<script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
juanpablo@378
    38
<SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
juanpablo@378
    39
<SCRIPT language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></SCRIPT>
juanpablo@378
    40
<SCRIPT language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></SCRIPT>
juanpablo@378
    41
<script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
juanpablo@378
    42
<SCRIPT language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></SCRIPT>
juanpablo@378
    43
<SCRIPT language="JavaScript" src="../utility/MessagesJS.js" type="text/javascript"></SCRIPT>
juanpablo@378
    44
<script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
juanpablo@378
    45
<script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
juanpablo@378
    46
<script type="text/javascript"> 
juanpablo@378
    47
      //all dojo.require above this line
juanpablo@378
    48
      dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
juanpablo@378
    49
</script> 
juanpablo@378
    50
<SCRIPT language="JavaScript" type="text/javascript">
juanpablo@378
    51
function depurar() {
juanpablo@378
    52
	var frm = document.frmSelector;
juanpablo@378
    53
	if ((frm.inpFile.value==null || frm.inpFile.value=="") && (frm.inpadImpformatId.value==null || frm.inpadImpformatId.value=="") ) {
gorka@1028
    54
		setWindowElementFocus(frm.inpFile);
juanpablo@378
    55
		mensaje(7);
juanpablo@378
    56
		return false;
juanpablo@378
    57
	}
juanpablo@378
    58
	return true;
juanpablo@378
    59
}
juanpablo@378
    60
</SCRIPT>
asier@528
    61
	<SCRIPT language="JavaScript" type="text/javascript">
asier@528
    62
	function onLoadDo(){
asier@528
    63
		this.windowTables = new Array(
david@628
    64
		  new windowTableId('client', null, 'buttonOK')
asier@528
    65
		);
asier@528
    66
		setWindowTableParentElement();
asier@528
    67
		this.tabsTables = new Array(
asier@528
    68
		  new tabTableId('tdtopTabs')
asier@528
    69
		);
asier@528
    70
		setTabTableParentElement();
asier@528
    71
		enableShortcuts('edition');
asier@528
    72
		
asier@528
    73
		xx();
asier@528
    74
		byDefaultAction('submitCommandForm(\'FIND\', true)');
asier@528
    75
		resizeArea();
asier@528
    76
		updateMenuIcon('buttonMenu');
asier@528
    77
asier@528
    78
		setWindowElementFocus('firstElement');
asier@528
    79
	}
asier@528
    80
asier@528
    81
	function onResizeDo(){
asier@528
    82
		resizeArea();
asier@528
    83
	}
asier@528
    84
	</SCRIPT>
juanpablo@378
    85
</HEAD>
asier@528
    86
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();" id="paramMensaje">
juanpablo@378
    87
<FORM name="frmSelector" method="POST" action="EdiFileImport.html" target="medio" enctype="multipart/form-data">
juanpablo@378
    88
        <INPUT type="hidden" name="Command"></INPUT>
juanpablo@378
    89
  <input type="hidden" name="inpLastFieldChanged" value="">
juanpablo@378
    90
<table height="100%" border="0" cellpadding="0" cellspacing="0" id="main">
juanpablo@378
    91
    <tr>
juanpablo@378
    92
      <td valign="top" id="tdleftTabs"></td>
juanpablo@378
    93
      <td valign="top">
juanpablo@378
    94
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Left">
juanpablo@378
    95
          <TR><TD class="Main_NavBar_bg_left" id="tdleftSeparator"></TD></TR>
juanpablo@378
    96
          <TR><TD class="Main_ToolBar_bg_left" valign="top"></TD></TR>
juanpablo@378
    97
          <TR><TD class="Main_Client_bg_left"></TD></TR>
juanpablo@378
    98
          <TR><TD class="Main_Bottom_bg_left"></TD></TR>
juanpablo@378
    99
        </TABLE>
juanpablo@378
   100
      </td>
juanpablo@378
   101
      <td valign="top">
juanpablo@378
   102
        <div class="Main_ContentPane_NavBar" id="tdtopButtons"></div>
juanpablo@378
   103
        <div class="Main_ContentPane_ToolBar" id="paramToolBar"></div>
juanpablo@378
   104
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_TabPane" id="tdtopTabs">
juanpablo@378
   105
          <TR id="paramParentTabContainer"></TR>
juanpablo@378
   106
          <TR id="paramMainTabContainer"></TR>
juanpablo@378
   107
          <TR id="paramChildTabContainer"></TR>
juanpablo@378
   108
        </TABLE>
juanpablo@378
   109
        <DIV class="Main_ContentPane_Client" style="overflow: auto; display: none;" id="client">
juanpablo@378
   110
                <table class="dojoTabContainer" border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
juanpablo@378
   111
                  <tr>
juanpablo@378
   112
                    <td>
juanpablo@378
   113
                      <table class="dojoTabPaneWrapper" border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
juanpablo@378
   114
                        <tr>
juanpablo@378
   115
                          <td>
juanpablo@378
   116
                            <!-- MessageBox -->
juanpablo@378
   117
juanpablo@378
   118
                            <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
juanpablo@378
   119
                              <TBODY>
juanpablo@378
   120
                              <tr class="MessageBox_TopMargin">
juanpablo@378
   121
                                <td class="MessageBox_LeftMargin"></td>
juanpablo@378
   122
                                <td></td>
juanpablo@378
   123
                                <td class="MessageBox_RightMargin"></td>
juanpablo@378
   124
                              </tr>
juanpablo@378
   125
                              <tr>
juanpablo@378
   126
                                <td class="MessageBox_LeftMargin"></td>
juanpablo@378
   127
                                <td>
juanpablo@378
   128
juanpablo@378
   129
                                  <table cellpadding="0" cellspacing="0" style="width: 100%;">
juanpablo@378
   130
                                    <TBODY>
juanpablo@378
   131
                                    <tr>
juanpablo@378
   132
                                      <td>
juanpablo@378
   133
                                        <div class="MessageBox_TopLeft"></div>
juanpablo@378
   134
                                        <div class="MessageBox_Left"></div>
juanpablo@378
   135
                                      </td>
juanpablo@378
   136
                                      <td class="MessageBox_bg">
juanpablo@378
   137
juanpablo@378
   138
                                        <table class="MessageBox_Top">
juanpablo@378
   139
                                        <TBODY>
juanpablo@378
   140
                                          <tr>
juanpablo@378
   141
                                            <td>
juanpablo@378
   142
                                              <span>
juanpablo@378
   143
                                              <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
juanpablo@378
   144
                                                <TBODY>
juanpablo@378
   145
                                                <tr>
juanpablo@378
   146
                                                  <td class="MessageBox_Icon_ContentCell">
juanpablo@378
   147
                                                    <div class="MessageBox_Icon"></div>
juanpablo@378
   148
                                                  </td>
juanpablo@378
   149
                                                  <td style="vertical-align: top;" id="messageBoxIDContent">
juanpablo@378
   150
                                                    <span>
juanpablo@378
   151
                                                      <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
juanpablo@378
   152
                                                        xxInfo: AccessTableWithNoView
juanpablo@378
   153
                                                      </div>
juanpablo@378
   154
                                                      <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
juanpablo@378
   155
                                                        xxThe current information is empty.
juanpablo@378
   156
                                                      </div>
juanpablo@378
   157
                                                      <div class="MessageBox_TextSeparator"></div>
juanpablo@378
   158
                                                    </span>
juanpablo@378
   159
                                                  </td>
juanpablo@378
   160
                                                </tr>
juanpablo@378
   161
                                                </TBODY>
juanpablo@378
   162
                                              </table>
juanpablo@378
   163
                                              </span>
juanpablo@378
   164
                                            </td>
juanpablo@378
   165
                                          </tr>
juanpablo@378
   166
                                          </TBODY>
juanpablo@378
   167
                                        </table>
juanpablo@378
   168
juanpablo@378
   169
                                      </td>
juanpablo@378
   170
                                      <td class="MessageBox_RightTrans">
juanpablo@378
   171
                                        <div class="MessageBox_TopRight"></div>
juanpablo@378
   172
                                        <div class="MessageBox_Right"></div>
juanpablo@378
   173
                                      </td>
juanpablo@378
   174
                                    </tr>
juanpablo@378
   175
                                    <tr>
juanpablo@378
   176
                                      <td rowspan="2" class="MessageBox_BottomLeft">
juanpablo@378
   177
                                      </td>
juanpablo@378
   178
                                      <td class="MessageBox_BottomTrans MessageBox_bg">
juanpablo@378
   179
                                      </td>
juanpablo@378
   180
                                      <td rowspan="2" class="MessageBox_BottomRight">
juanpablo@378
   181
                                      </td>
juanpablo@378
   182
                                    </tr>
juanpablo@378
   183
                                    <tr>
juanpablo@378
   184
                                      <td class="MessageBox_Bottom">
juanpablo@378
   185
                                      </td>
juanpablo@378
   186
                                    </tr>
juanpablo@378
   187
                                    </TBODY>
juanpablo@378
   188
                                  </table>
juanpablo@378
   189
juanpablo@378
   190
                                </td>
juanpablo@378
   191
                                <td class="MessageBox_RightMargin"></td>
juanpablo@378
   192
                              </tr>
juanpablo@378
   193
                              <tr class="MessageBox_BottomMargin">
juanpablo@378
   194
                                <td class="MessageBox_LeftMargin"></td>
juanpablo@378
   195
                                <td></td>
juanpablo@378
   196
                                <td class="MessageBox_RightMargin"></td>
juanpablo@378
   197
                              </tr>
juanpablo@378
   198
                              </TBODY>
juanpablo@378
   199
                            </table>              <!-- USER CONTROLS -->
juanpablo@378
   200
              <TABLE class="Main_Client_TableEdition">
juanpablo@378
   201
                <tr>
juanpablo@378
   202
                  <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   203
                  <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   204
                  <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   205
                  <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   206
                  <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   207
                  <td class="TableEdition_OneCell_width"></td>
juanpablo@378
   208
                </tr>
juanpablo@378
   209
juanpablo@378
   210
                
juanpablo@378
   211
                <TR>
juanpablo@378
   212
                  <TD class="TitleCell"><SPAN class="LabelText">File</SPAN></TD>
juanpablo@378
   213
                  <TD class="TextBox_ContentCell" colspan="2">
juanpablo@378
   214
                    <INPUT type="file" class="dojoValidateValid TextBox_TwoCells_width" name="inpFile"></INPUT>
juanpablo@378
   215
                  </TD>
juanpablo@378
   216
                  <TD class="TitleCell"></TD>
juanpablo@378
   217
                  <TD class="ContentCell"></TD>
juanpablo@378
   218
                  <TD class="ContentCell"></TD>
juanpablo@378
   219
                </TR>
juanpablo@378
   220
                <TR>
juanpablo@378
   221
                  <TD class="TitleCell"></TD>
juanpablo@378
   222
juanpablo@378
   223
                  <TD class="Button_RightAlign_ContentCell">
juanpablo@378
   224
                    <div>
david@628
   225
                      <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Accept'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="submitCommandForm('SAVE',true, null, null, 'frameAplicacion');return false;" id="buttonOK">
juanpablo@378
   226
                        <table class="Button" onmouseout="this.className='Button';window.status='';return true;" onmouseover="this.className='Button_hover';window.status='Accept';return true;" onmousedown="this.className='Button_active';return true;" onmouseup="this.className='Button';return true;">
juanpablo@378
   227
                        <tr>
juanpablo@378
   228
                          <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border=0/></td>
juanpablo@378
   229
                          <td class="Button_text Button_width">OK</td>
juanpablo@378
   230
                          <td class="Button_right"></td>
juanpablo@378
   231
                        </tr>
juanpablo@378
   232
                      </table>
juanpablo@378
   233
                      </a>
juanpablo@378
   234
                    </div>
juanpablo@378
   235
                  </TD>
juanpablo@378
   236
                  <TD class="TitleCell"></TD>
juanpablo@378
   237
                  <TD class="ContentCell"></TD>
juanpablo@378
   238
                  <TD class="TitleCell"></TD>
juanpablo@378
   239
                  <TD class="ContentCell"></TD>
juanpablo@378
   240
                </TR>
juanpablo@378
   241
              </TABLE>
juanpablo@378
   242
juanpablo@378
   243
juanpablo@378
   244
                      <!-- USER CONTROLS -->
juanpablo@378
   245
                </TD>
juanpablo@378
   246
              </TR>
juanpablo@378
   247
              </TABLE>
juanpablo@378
   248
              </TD>
juanpablo@378
   249
            </TR>
juanpablo@378
   250
          </TABLE>
juanpablo@378
   251
        </div>
juanpablo@378
   252
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Menu_ContentPane_Bottom" id="tdbottomSeparator">
juanpablo@378
   253
          <TR>
juanpablo@378
   254
            <TD class="Main_Bottom_bg"><IMG src="../../../../../web/images/blank.gif" border="0"></TD>
juanpablo@378
   255
          </TR>
juanpablo@378
   256
        </TABLE></td>
juanpablo@378
   257
      <td valign="top">
juanpablo@378
   258
        <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Right" id="tdrightSeparator">
juanpablo@378
   259
          <TR><TD class="Main_NavBar_bg_right"></TD></TR>
juanpablo@378
   260
          <TR><TD class="Main_ToolBar_bg_right" valign="top"></TD></TR>
juanpablo@378
   261
          <TR><TD class="Main_Client_bg_right"></TD></TR>
juanpablo@378
   262
          <TR><TD class="Main_Bottom_bg_right"></TD></TR>
juanpablo@378
   263
        </TABLE>
juanpablo@378
   264
      </td>
juanpablo@378
   265
    </tr>
juanpablo@378
   266
  </table>
juanpablo@378
   267
</form>
juanpablo@378
   268
juanpablo@378
   269
juanpablo@378
   270
juanpablo@378
   271
juanpablo@378
   272
juanpablo@378
   273
juanpablo@378
   274
juanpablo@378
   275
juanpablo@378
   276
juanpablo@378
   277
<!--span id="paramToolBar">toolbar</span> <BR></BR>
juanpablo@378
   278
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
juanpablo@378
   279
  <TR> 
juanpablo@378
   280
    <TD> <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
juanpablo@378
   281
        <TR> 
juanpablo@378
   282
          <TD width="119" > <TABLE border="0" cellspacing="0" cellpadding="0">
juanpablo@378
   283
              <TR> 
juanpablo@378
   284
                <TD width="119" height="46" >EDI file import</TD>
juanpablo@378
   285
              </TR>
juanpablo@378
   286
            </TABLE></TD>
juanpablo@378
   287
          <TD > <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
juanpablo@378
   288
              <tr> 
juanpablo@378
   289
                <TD > </TD>
juanpablo@378
   290
              </tr>
juanpablo@378
   291
            </TABLE></TD>
juanpablo@378
   292
        </TR>
juanpablo@378
   293
      </table>
juanpablo@378
   294
      <TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
juanpablo@378
   295
        <TR> 
juanpablo@378
   296
          <td> <TABLE width="100%" border="1" cellspacing="0" cellpadding="2" >
juanpablo@378
   297
              <TR> 
juanpablo@378
   298
                <TD>EDI file import</TD>
juanpablo@378
   299
              </TR>
juanpablo@378
   300
            </TABLE></td>
juanpablo@378
   301
        </TR>
juanpablo@378
   302
      </TABLE>
juanpablo@378
   303
      <FORM name="frmSelector" method="POST" action="EdiFileImport.html" target="medio" enctype="multipart/form-data">
juanpablo@378
   304
        <INPUT type="hidden" name="Command"></INPUT>
juanpablo@378
   305
        <TABLE width="100%" border="0" cellpadding="0" cellspacing="2">
juanpablo@378
   306
          <TR> 
juanpablo@378
   307
            <TD width="23%" > <SPAN >File&nbsp;</SPAN></TD>
juanpablo@378
   308
            <TD width="25%"> <INPUT type="file" name="inpFile" size="25" ></INPUT>
juanpablo@378
   309
            </TD>
juanpablo@378
   310
            <TD width="9%" > <A href="#" onclick="submitCommandForm('SAVE',true, null, null, 'frameAplicacion');return false;" onmouseover="window.status='OK';return true;" onmouseout="window.status='';return true;" > 
juanpablo@378
   311
              <img src="../../../../../web/images/Ok.jpg"  alt="OK" title="OK" width="16" height="16" border="0" id="buttonOk"></IMG></A></TD>
juanpablo@378
   312
          </TR>
juanpablo@378
   313
        </TABLE>
juanpablo@378
   314
        <HR></HR>
juanpablo@378
   315
      </FORM></TD>
juanpablo@378
   316
  </TR>
juanpablo@378
   317
</TABLE-->
juanpablo@378
   318
</BODY>
juanpablo@378
   319
</HTML>