src/org/openbravo/erpCommon/info/AttributeSetInstance.html
author David Baz Fayos <david.baz@openbravo.com>
Tue, 27 May 2008 15:26:10 +0000
changeset 1044 8691bbc94032
parent 987 29550073f826
child 1325 af371d42d754
permissions -rwxr-xr-x
Removed old frame parameter of windowTableId
<!--
 *************************************************************************
 * 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-2007 Openbravo SL 
 * All Rights Reserved. 
 * Contributor(s):  ______________________________________.
 ************************************************************************
-->
<HTML>
<HEAD>
<TITLE>Attribute selector</TITLE>

<LINK rel="SHORTCUT ICON" href="../../../../../web/images/favicon.ico"></LINK> 

<LINK rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Popup/Popup.css" id="paramCSS"></LINK>

<script language="JavaScript" type="text/javascript" id="paramDirection">
var baseDirection = "../../../../../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">
  var LNG_POR_DEFECTO = "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/searchs.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript" src="../../../../../web/js/jscalendar/lang/calendar-es.js" type="text/javascript" id="fieldCalendar"></SCRIPT>
<script language="JavaScript" src="../../../../../web/js/default/DateTextBox.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>
<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" src="../../../../../web/js/dojoConfig.js" type="text/javascript"></script>
<script language="JavaScript" src="../../../../../web/js/dojo/dojo.js" type="text/javascript"></script>
<SCRIPT language="JavaScript" type="text/javascript">
function printMessage(msg) {
	if (msg!=null && msg != "") alert(msg);
	var clave = document.frmMain.inpInstance.value;
	var texto = document.frmMain.inpDescription.value;
	top.opener.closeSearch("SAVE", clave, texto, null);
	return true;
}
</SCRIPT>
<SCRIPT language="JavaScript" type="text/javascript" id="paramScript">
function onloadFunctions() {
  return true;
}
</SCRIPT>
<script language="JavaScript" type="text/javascript">
function depurarSelector(action) {
	if (action=="SAVE") {
		submitCommandForm("SAVE");
	} else top.opener.closeSearch(action, "", "", null);
	return true;
}
</script>
	<SCRIPT language="JavaScript" type="text/javascript">
	function onLoadDo(){
		this.windowTables = new Array(
		  new windowTableId('client', 'buttonOK')
		);
		setWindowTableParentElement();
		enableShortcuts('popup');
		
		resizePopup();
		try {
		  onloadFunctions();
		} catch (e) {}
		xx();

		setWindowElementFocus('firstElement');
	}

	function onResizeDo(){
		resizePopup();
	}
	</SCRIPT>
</HEAD>
<BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="onLoadDo();xx();" onresize="onResizeDo();" id="paramBody">
<FORM name="frmMain" method="POST" action="AttributeSetInstance.html">
  <INPUT type="hidden" name="Command">
<INPUT type="hidden" name="IsPopUpCall" value="1">
  <INPUT type="hidden" name="inpAttribute" value="" id="paramAttribute"> 
  <INPUT type="hidden" name="inpInstance" value="" id="paramInstance"> 
  <INPUT type="hidden" name="inpProduct" value="" id="paramProduct">
  <INPUT type="hidden" name="inpDescription" value="" id="paramDescriptionHidden"> 
  <INPUT type="hidden" name="inpwindowId" value="" id="paramWindowId"> 
  <INPUT type="hidden" name="inpTabId" value="" id="paramTabId"> 
  <INPUT type="hidden" name="inpLocatorId" value="" id="paramLocatorId"> 
  
  
  <div class="Popup_ContentPane_CircleLogo">
  <div class="Popup_WindowLogo">
    <img class="Popup_WindowLogo_Icon Popup_WindowLogo_Icon_attribute" src="../../../../../web/images/blank.gif" border=0/></img>
  </div>
</div>

<table cellspacing="0" cellpadding="0" width="100%" id="table_header">
  <tr>
    <td>
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_NavBar" id="tdToolBar">
        <tr class="Popup_NavBar_bg"><td></td>
          <td class="Popup_NavBar_separator_cell"></td>
          <td class="Popup_NavBar_bg_logo_left"></td>
          <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>
          <td class="Popup_NavBar_bg_logo_right"></td>
          <td class="Popup_NavBar_Popup_title_cell"><span>Attribute</span></td>
          <td class="Popup_NavBar_separator_cell"></td>
        </tr>
      </table>
    </td>
  </tr>

  <tr>
    <td>
      <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_SeparatorBar" id="tdtopTabs">
        <tr>
          <td class="Popup_SeparatorBar_bg"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>

<table cellspacing="0" cellpadding="0" width="100%">
  <tr>
    <td>
      <div class="Popup_ContentPane_Client" style="overflow: auto; display: none;" id="client">
        <table cellspacing="0" cellpadding="0" class="Popup_Client_TablePopup">

          <tr>
            <td class="TableEdition_OneCell_width"></td>
            <td class="TableEdition_OneCell_width"></td>
            <td class="TableEdition_OneCell_width"></td>
            <td class="TableEdition_OneCell_width"></td>
          </tr>
          <div id="paramData">
            <tr class="discard">
              <td class="TitleCell discard"><SPAN class="LabelText" id="fieldAttributeName">xxattribute name</SPAN></td>
              <td class="Combo_ContentCell" colspan="2">
                <SELECT class="Combo Combo_OneCell_width" name="inpmAttribute" id="reportM_Attributevalue_ID">
                </SELECT>
              </td>
              <td/>
            </tr>
            
            <tr class="discard">
              <td class="TitleCell"><SPAN class="LabelText">xxattribute name</SPAN></td>
              <td class="Combo_ContentCell" colspan="2">
                <SELECT class="Combo Combo_TwoCells_width"name="inpAttributeValues" id="inpAttributeValues">
                </SELECT>
              </td>
              <td/>
            </tr>
          </div>
          <tr>
            <td class="TitleCell"><SPAN class="LabelText" id="paramNameDescription">Description</SPAN></td>
            <td class="ContentCell" colspan="2"><span class="Label_ReadOnly_Text" id="paramDescription">xx</span></td>
            <td/>
          </tr>
          <tr><td height="20px"></td></tr>
          <tr>
            <td class="TitleCell"></td>
            <td class="Button_RightAlign_ContentCell">
              <div>
                <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='OK'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="depurarSelector('SAVE');return false;" id="buttonOK">
                  <table class="Button" onmousedown="this.className='Button_active'; return true;" onmouseup="this.className='Button'; return true;" onmouseover="this.className='Button_hover'; window.status='OK'; return true;" onmouseout="this.className='Button'; window.status=''; return true;">
                    <tr>
                      <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="OK" title="OK" src="../web/images/blank.gif" border="0"></img></td>
                      <td class="Button_text Button_width">OK</td>
                      <td class="Button_right"></td>
                    </tr>
                  </table>
                </a>
              </div>
            </td>
            <td class="Button_LeftAlign_ContentCell">
              <div>
                <a class="ButtonLink" href="#" onfocus="setWindowElementFocus(this); window.status='Cancel'; return true;" onblur="window.status=''; return true;" onkeypress="this.className='ButtonLink_active'; return true;" onkeyup="this.className='ButtonLink_focus'; return true;" onclick="depurarSelector('CLEAR');return false;">
                  <table class="Button" onmousedown="this.className='Button_active'; return true;" onmouseup="this.className='Button'; return true;" onmouseover="this.className='Button_hover'; window.status='Cancel'; return true;" onmouseout="this.className='Button'; window.status=''; return true;">
                    <tr>

                      <td class="Button_left"><img class="Button_Icon Button_Icon_cancel" alt="Cancel" title="Cancel" src="../web/images/blank.gif" border="0"></img></td>
                      <td class="Button_text Button_width">Cancel</td>
                      <td class="Button_right"></td>
                    </tr>
                  </table>
                </a>
              </div>
            </td>
            <td class="TitleCell"></td>

          </tr>
        </table>
      </div>
    </td>
   </tr>
  </table>
 </FORM>
    
</BODY>
</HTML>