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