src/org/openbravo/erpCommon/info/Project_F1.html
author David Baz Fayos <david.baz@openbravo.com>
Thu, 10 Apr 2008 17:23:23 +0000
changeset 628 492ad1a5c917
parent 528 7aa737db257f
permissions -rw-r--r--
Merge with keyboard shortcuts r3385
carlos@0
     1
<!-- saved from url=(0022)http://internet.e-mail -->
carlos@0
     2
<!--
carlos@0
     3
 *************************************************************************
carlos@0
     4
 * The contents of this file are subject to the Openbravo  Public  License
carlos@0
     5
 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
carlos@0
     6
 * Version 1.1  with a permitted attribution clause; you may not  use this
carlos@0
     7
 * file except in compliance with the License. You  may  obtain  a copy of
carlos@0
     8
 * the License at http://www.openbravo.com/legal/license.html 
carlos@0
     9
 * Software distributed under the License  is  distributed  on  an "AS IS"
carlos@0
    10
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
carlos@0
    11
 * License for the specific  language  governing  rights  and  limitations
carlos@0
    12
 * under the License. 
carlos@0
    13
 * The Original Code is Openbravo ERP. 
carlos@0
    14
 * The Initial Developer of the Original Code is Openbravo SL 
carlos@0
    15
 * All portions are Copyright (C) 2001-2007 Openbravo SL 
carlos@0
    16
 * All Rights Reserved. 
carlos@0
    17
 * Contributor(s):  ______________________________________.
carlos@0
    18
 ************************************************************************
carlos@0
    19
-->
carlos@0
    20
<HTML>
carlos@0
    21
<HEAD>
carlos@0
    22
<TITLE>Project selector</TITLE>
carlos@0
    23
carlos@0
    24
<LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>
carlos@0
    25
carlos@0
    26
      <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
asier@528
    27
      <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
carlos@0
    28
      <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
asier@528
    29
      <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
carlos@0
    30
      <script language="JavaScript" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
carlos@0
    31
      <script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
carlos@0
    32
      <SCRIPT language="JavaScript" type="text/javascript" id="paramLanguage">	LNG_POR_DEFECTO = "en_US";</SCRIPT>
carlos@0
    33
      <SCRIPT language="JavaScript" type="text/javascript" id="paramDirection">var baseDirection = "../../../../../web/";</SCRIPT>
carlos@0
    34
      <SCRIPT language="JavaScript" src="../../../../../web/js/TypeAheadCombo.js" type="text/javascript"></SCRIPT>
carlos@0
    35
      <SCRIPT language="JavaScript" src="../../../../../web/js/calculator.js" type="text/javascript"></SCRIPT>
carlos@0
    36
<SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
carlos@0
    37
<SCRIPT language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></SCRIPT>
carlos@0
    38
<SCRIPT language="JavaScript" src="../../../../../web/js/String.js" type="text/javascript"></SCRIPT>
carlos@0
    39
carlos@0
    40
      <script type="text/javascript">
carlos@0
    41
        dojo.hostenv.writeIncludes(); //makes debugging in Venkman possible
carlos@0
    42
      </script>
carlos@0
    43
      
carlos@0
    44
      
carlos@0
    45
carlos@0
    46
carlos@0
    47
<SCRIPT language="JavaScript" type="text/javascript">
carlos@0
    48
function depurar() {
carlos@0
    49
	/*
carlos@0
    50
	var frm = document.frmSelector;
carlos@0
    51
	if ((frm.inpKey.value==null || frm.inpKey.value=="") && (frm.inpName.value==null || frm.inpName.value=="") && (frm.inpBpartnerId.value==null || frm.inpBpartnerId.value=="")) {
carlos@0
    52
		frm.inpKey.focus();
carlos@0
    53
		mensaje(7);
carlos@0
    54
		return false;
carlos@0
    55
	}
carlos@0
    56
	*/
carlos@0
    57
	return true;
carlos@0
    58
}
asier@528
    59
function onloadFunctions(){
asier@528
    60
	keyArray[keyArray.length] = new keyArrayItem("ENTER", "openSearch(null, null, '../info/BusinessPartner_FS.html', 'BPARTNER_SELECTOR', false, 'frmSelector', 'inpBpartnerId', 'inpBpartnerId_DES', document.frmSelector.inpBpartnerId_DES.value, 'Command', 'KEY', 'WindowID', document.frmSelector.inpWindowId.value);", "inpBpartnerId_DES", "null");
asier@528
    61
	keyArray[keyArray.length] = new keyArrayItem("B", "submitCommandForm(\'FIND\', true);", null, "ctrlKey");
asier@528
    62
}
carlos@0
    63
carlos@0
    64
</SCRIPT>
asier@528
    65
	<SCRIPT language="JavaScript" type="text/javascript">
asier@528
    66
	function onLoadDo(){
asier@528
    67
		this.windowTables = new Array(
david@628
    68
		  new windowTableId('client', 'superior', 'buttonSearch', 'superior'),
david@628
    69
		  new windowTableId('client', 'medio', 'buttonOK', 'inferior'),
david@628
    70
		  new windowTableId('client', 'inferior', 'buttonOK', 'inferior')
asier@528
    71
		);
asier@528
    72
		setWindowTableParentElement();
asier@528
    73
		enableShortcuts('popup');
asier@528
    74
		
asier@528
    75
		try {
asier@528
    76
		  onloadFunctions();
asier@528
    77
		} catch (e) {}
asier@528
    78
asier@528
    79
		setWindowElementFocus('firstElement');
asier@528
    80
	}
asier@528
    81
asier@528
    82
	function onResizeDo(){
asier@528
    83
	}
asier@528
    84
	</SCRIPT>
carlos@0
    85
</HEAD>
asier@528
    86
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();" onresize="onResizeDo();">
carlos@0
    87
<FORM name="frmSelector" method="POST" action="Project_F2.html" target="medio">
carlos@0
    88
  <INPUT type="hidden" name="Command">
carlos@0
    89
<INPUT type="hidden" name="IsPopUpCall" value="1"></INPUT>
carlos@0
    90
  <INPUT type="hidden" name="inpWindowId" value="" id="fieldWindowID"></INPUT> 
carlos@0
    91
carlos@0
    92
  <div class="Popup_ContentPane_CircleLogo">
carlos@0
    93
  <div class="Popup_WindowLogo">
carlos@0
    94
    <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_project" src="../../../../../web/images/blank.gif" border=0/></img>
carlos@0
    95
  </div>
carlos@0
    96
</div>
carlos@0
    97
carlos@0
    98
<table cellspacing="0" cellpadding="0" width="100%">
carlos@0
    99
carlos@0
   100
  <tr>
carlos@0
   101
    <td>
carlos@0
   102
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar">
carlos@0
   103
        <tr class="Popup_NavBar_bg"><td></td>
carlos@0
   104
          <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   105
          <td class="Popup_NavBar_bg_logo_left"></td>
carlos@0
   106
          <td class="Popup_NavBar_bg_logo" width="1" onclick="abrirNuevoBrowser('http://www.openbravo.com', 'Openbravo');return false;"><IMG src="../../../../../web/images/blank.gif" alt="Openbravo" title="Openbravo" border="0" id="openbravoLogo" class="Popup_NavBar_logo" /></td>
carlos@0
   107
          <td class="Popup_NavBar_bg_logo_right"></td>
carlos@0
   108
          <td class="Popup_NavBar_Popup_title_cell"><span>Project Selector</span></a></td>
carlos@0
   109
          <td class="Popup_NavBar_separator_cell"></td>
carlos@0
   110
        </tr>
carlos@0
   111
      </table>
carlos@0
   112
    </td>
carlos@0
   113
  </tr>
carlos@0
   114
carlos@0
   115
  <tr>
carlos@0
   116
    <td>
carlos@0
   117
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar">
carlos@0
   118
        <tr>
carlos@0
   119
          <td class="Popup_SeparatorBar_bg"></td>
carlos@0
   120
        </tr>
carlos@0
   121
      </table>
carlos@0
   122
    </td>
carlos@0
   123
  </tr>
carlos@0
   124
  
carlos@0
   125
   <tr>
carlos@0
   126
    <td>
asier@528
   127
      <div class="Popup_ContentPane_Client" style="overflow: auto;" id="client">
carlos@0
   128
        <table cellspacing="0" cellpadding="0" class="Popup_Client_TableSelector">
carlos@0
   129
carlos@0
   130
          <tr>
carlos@0
   131
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   132
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   133
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   134
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   135
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   136
            <td class="TableEdition_OneCell_width"></td>
carlos@0
   137
          </tr>
carlos@0
   138
carlos@0
   139
          <TR>
carlos@0
   140
          <TD colspan="6">
carlos@0
   141
            <TABLE class="FieldGroup" cellspacing="0" cellpadding="0" border="0">
carlos@0
   142
              <TR class="FieldGroup_TopMargin"></TR>
carlos@0
   143
              <TR>
carlos@0
   144
                <TD class="FieldGroupTitle_Left"><IMG class="FieldGroupTitle_Left_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
carlos@0
   145
                <TD class="FieldGroupTitle">Primary Filters</TD>
carlos@0
   146
                <TD class="FieldGroupTitle_Right"><IMG class="FieldGroupTitle_Right_bg" border="0" src="../../../../../web/images/blank.gif"></IMG></TD>
carlos@0
   147
                <TD class="FieldGroupContent"></TD>
carlos@0
   148
carlos@0
   149
              </TR>
carlos@0
   150
              <TR class="FieldGroup_BottomMargin"></TR>
carlos@0
   151
            </TABLE>
carlos@0
   152
          </TD>
carlos@0
   153
          </TR>
carlos@0
   154
         
carlos@0
   155
       </tr>
carlos@0
   156
  
carlos@0
   157
  <tr>
asier@528
   158
         <TD class="TitleCell"><SPAN class="LabelText">Key</SPAN></TD>
carlos@0
   159
         <TD class="TextBox_ContentCell"> <INPUT class="dojoValidateValid TextBox_OneCell_width" type="text" name="inpKey" value="" id="fieldKey"/></TD>
carlos@0
   160
         
carlos@0
   161
         <td></td>
carlos@0
   162
carlos@0
   163
         
asier@528
   164
         <TD class="TitleCell"><SPAN class="LabelText">Name</SPAN></TD>
carlos@0
   165
         <TD class="TextBox_ContentCell"> <INPUT class="dojoValidateValid TextBox_OneCell_width" name="inpName" field="fieldName" type="text"/></TD>
carlos@0
   166
         <td></td>
carlos@0
   167
         
carlos@0
   168
       </tr>
carlos@0
   169
       <tr>
carlos@0
   170
        <TD class="TitleCell"><SPAN class="LabelText">Business Partner</SPAN></TD>
carlos@0
   171
        <TD class="TextBox_btn_ContentCell" colspan="2">
carlos@0
   172
carlos@0
   173
          <TABLE border="0" cellspacing="0" cellpadding="0" summary="" style="padding-top: 0px;">
carlos@0
   174
            <TR>
carlos@0
   175
              <TD class="TextBox_ContentCell">
carlos@0
   176
                <INPUT type="hidden" name="inpBpartnerId" value=""/>
carlos@0
   177
                <INPUT class="dojoValidateValid TextBox_btn_TwoCells_width" type="text" name="inpBpartnerId_DES"  id="fieldcBpartnerId_DES" maxlength="20" value=""/>
carlos@0
   178
              </TD>
carlos@0
   179
              <TD class="FieldButton_ContentCell">
carlos@0
   180
                <a class="FieldButtonLink" href="#"
asier@528
   181
                  onfocus="setWindowElementFocus(this); window.status='Business Partner'; return true;"
asier@528
   182
                  onblur="window.status=''; return true;"
carlos@0
   183
                  onkeypress="this.className='FieldButtonLink_active'; return true;"
asier@528
   184
                  onkeyup="this.className='FieldButtonLink_focus'; return true;"
carlos@0
   185
                  onclick="openSearch(null, null, 'BusinessPartner_FS.html', 'SELECTOR_BUSINESS', false, 'frmSelector', 'inpBpartnerId', 'inpBpartnerId_DES', document.frmSelector.inpBpartnerId_DES.value);return false;">
carlos@0
   186
                  <table class="FieldButton"
carlos@0
   187
                    onmousedown="this.className='FieldButton_active'; return true;"
carlos@0
   188
                    onmouseup="this.className='FieldButton'; return true;"
carlos@0
   189
                    onmouseover="this.className='FieldButton_hover'; window.status='Business Partner'; return true;"
carlos@0
   190
                    onmouseout="this.className='FieldButton'; window.status=''; return true;">
carlos@0
   191
                    <tr>
carlos@0
   192
                      <td class="FieldButton_bg">
carlos@0
   193
                        <img alt="Business Partner" class="FieldButton_Icon FieldButton_Icon_BusinessPartner" title="Business Partner" src="../../../../../web/images/blank.gif" border="0""/>
carlos@0
   194
                      </td>
carlos@0
   195
                    </tr>
carlos@0
   196
                  </table>
carlos@0
   197
                </a>
carlos@0
   198
              </TD>
carlos@0
   199
            </TR>
carlos@0
   200
          </TABLE>
carlos@0
   201
        </TD> 
carlos@0
   202
        </tr>
carlos@0
   203
        <tr>
carlos@0
   204
            <td></td>
carlos@0
   205
            <td class="Button_LeftAlign_ContentCell">
carlos@0
   206
              <div>
carlos@0
   207
                <a class="ButtonLink" href="#"
asier@528
   208
                  onfocus="setWindowElementFocus(this); window.status='Search'; return true;"
asier@528
   209
                  onblur="window.status=''; return true;"
carlos@0
   210
                  onkeypress="this.className='ButtonLink_active'; return true;"
asier@528
   211
                  onkeyup="this.className='ButtonLink_focus'; return true;"
david@628
   212
                  onclick="submitCommandForm('FIND', true, null, null, 'medio');return false;"
david@628
   213
                  id="buttonSearch">
carlos@0
   214
                  <table class="Button"
carlos@0
   215
                    onmousedown="this.className='Button_active'; return true;"
carlos@0
   216
                    onmouseup="this.className='Button'; return true;"
carlos@0
   217
                    onmouseover="this.className='Button_hover'; window.status='Search'; return true;"
carlos@0
   218
                    onmouseout="this.className='Button'; window.status=''; return true;">
carlos@0
   219
                    <tr>
carlos@0
   220
                      <td class="Button_left"><img class="Button_Icon Button_Icon_search" alt="Search" title="Search" src="../../../../../web/images/blank.gif" border=0/></td>
carlos@0
   221
                      <td class="Button_text Button_width">Search</td>
carlos@0
   222
                      <td class="Button_right"></td>
carlos@0
   223
                    </tr>
carlos@0
   224
                  </table>
carlos@0
   225
                </a>
carlos@0
   226
              </div>
carlos@0
   227
            </td>
carlos@0
   228
            <td></td>
carlos@0
   229
            <td></td>
carlos@0
   230
            <td></td>
carlos@0
   231
            <td></td>
carlos@0
   232
          </tr>
carlos@0
   233
      </table>
carlos@0
   234
      </div>
carlos@0
   235
      </table>
carlos@0
   236
      
carlos@0
   237
  
carlos@0
   238
carlos@0
   239
</FORM>
carlos@0
   240
</BODY>
carlos@0
   241
</HTML>