<!-- MENU-LOCATION=NONE -->
<!DOCTYPE HTML PUBLIC "-//Macromedia//DWExtension layout-engine 8.0//dialog">

<html xmlns:MMString="http://www.macromedia.com/schemes/data/string/">
<head>
<title><MMString:loadString id="Commands/Create_Component/title" /></title>
<script language="JavaScript">
// Copyright 2002-2007 Adobe Systems Incorporated.  All rights reserved.
//--------------- LOCALIZEABLE GLOBALS---------------

LABEL_SECTIONS= new Array(dw.loadString('Commands/Create_Component/LABEL_SECTIONS'),dw.loadString('Commands/Create_Component/LABEL_SECTIONS_1'),dw.loadString('Commands/Create_Component/LABEL_SECTIONS_2'),dw.loadString('Commands/Create_Component/LABEL_SECTIONS_3'));
VALUE_SECTIONS= new Array(dw.loadString('Commands/Create_Component/VALUE_SECTIONS'),dw.loadString('Commands/Create_Component/VALUE_SECTIONS_1'),dw.loadString('Commands/Create_Component/VALUE_SECTIONS_2'),dw.loadString('Commands/Create_Component/VALUE_SECTIONS_3'));

var LABEL_DirBrowse = dw.loadString('Commands/Create_Component/LABEL_DirBrowse');

var LABEL_Component = dw.loadString('Commands/Create_Component/LABEL_Component');
var LABEL_Property = dw.loadString('Commands/Create_Component/LABEL_Property');
var LABEL_Method = dw.loadString('Commands/Create_Component/LABEL_Method');
var LABEL_Parameter = dw.loadString('Commands/Create_Component/LABEL_Parameter');

var MSG_Error_Header = dw.loadString('Commands/Create_Component/MSG_Error_Header');

var MSG_Error_BlankName = dw.loadString('Commands/Create_Component/MSG_Error_BlankName');
var MSG_Error_NameExists = dw.loadString('Commands/Create_Component/MSG_Error_NameExists');
var MSG_Error_CompFileOutputDir = dw.loadString('Commands/Create_Component/MSG_Error_CompFileOutputDir');

var MSG_DeclinedOverwrite = dw.loadString('Commands/Create_Component/MSG_DeclinedOverwrite');
var MSG_TemplateSaved = dw.loadString('Commands/Create_Component/MSG_TemplateSaved');
var MSG_OverwriteExisting = dw.loadString('Commands/Create_Component/MSG_OverwriteExisting');
var MSG_CreateDirectory = dw.loadString('Commands/Create_Component/MSG_CreateDirectory') +
dw.loadString('Commands/Create_Component/MSG_CreateDirectory_1')
var MSG_ContinueCancel = dw.loadString('Commands/Create_Component/MSG_ContinueCancel') +
dw.loadString('Commands/Create_Component/MSG_ContinueCancel_1') +
dw.loadString('Commands/Create_Component/MSG_ContinueCancel_2');
var MSG_FileWriteError = dw.loadString('Commands/Create_Component/MSG_FileWriteError');
var MSG_RequiredField = dw.loadString('Commands/Create_Component/MSG_RequiredField');

var LABEL_FileGeneratedBy = dw.loadString('Commands/Create_Component/LABEL_FileGeneratedBy');

//--------------- END LOCALIZEABLE   ---------------
</script>
<script src="../Shared/MM/Scripts/CMN/displayHelp.js"></script>
<script src="../Shared/MM/Scripts/CMN/DOM.js"></script>
<script src="../Shared/Common/Scripts/ListControlClass.js"></script>
<script src="../Shared/Common/Scripts/RadioGroupClass.js"></script>
<script src="../Shared/Common/Scripts/TagEditClass.js"></script>
<script src="../Shared/MM/Scripts/Class/TabControlClass.js"></script>
<script src="../Shared/MM/Scripts/CFCutilities.js"></script>
<script src="Create Component.js"></script>


<style type="text/css">
    SELECT { width: 200px; }
</style>
<link href="../fields.css" rel="stylesheet" type="text/css">
<link href="../Styles/Create_Component.css" rel="stylesheet" type="text/css" />
</head>

<body onLoad="initializeUI();">

<form>
<table border="0" class="cls_CreateComponent_table">
  <tr valign="top">
    <td class="cls_CreateComponent_td"><MMString:loadString id="Commands/Create_Component/text/Section" /></td>
    <td rowspan="3" class="cls_CreateComponent_td_1"></td>
  </tr>
  <tr valign="top">
    <td class="cls_CreateComponent_td_2">
      <select name="section" size="25" onChange="updateUI('section')" class="selectbox_section"></select>
    </td>
  </tr>
</table>

<span id="componentSection" style="z-index:101;" class="section">
    <table border=0 class="cls_CreateComponent_table_2">


    <tr><td colspan="2"><MMString:loadString id="Commands/Create_Component/text/Component" /><br><hr size="2" width="100%"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Display" />&nbsp;</td>
        <td><input name="compDisplayName" type="text" class="cls_CreateComponent_basicTextField" onBlur="T.update('compDisplayName')" value=""></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Hint" />&nbsp;</td>
        <td><input name="compDescription" type="text" class="cls_CreateComponent_basicTextField" onblur="T.update('compDescription')" value=""></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Extends" />&nbsp;</td>
        <td><select name="compParent" editable="true" class="cls_CreateComponent_basicTextField" onChange="this.value=this.options[this.selectedIndex].value" onBlur="T.update('compParent')"></select>
            <input type="image" name="btn_compParentRefresh" src="../Shared/MM/Images/refresh.gif" onClick="repopulateCompParent();" class="cls_CreateComponent_image_btn_compParentRefresh" MMString:alt="Commands/Create_Component/image/alt/Refresh" border="0">
        </td>
    </tr>
    <tr><td height="50"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Name" />&nbsp;</td>
        <td><input name="compName" type="text" class="cls_CreateComponent_basicTextField" onBlur="T.update('compName')" value=""></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label" nowrap><MMString:loadString id="Commands/Create_Component/text/Component_1" />&nbsp;</td>
        <td><select name="compFileOutputDir" editable="true" class="cls_CreateComponent_basicTextField" onChange="this.editText=this.options[this.selectedIndex].value"></select>
            <input type="button" name="FolderBrowse" MMString:value="Commands/Create_Component/button/FolderBrowse/Browse" onClick="T.update('FolderBrowse')"></td>
    </tr>
    </table>
 </span>

<span id="propertiesSection" style="z-index:102;" class="section">
    <table border="0" class="cls_CreateComponent_table_3>
    <tr><td colspan="2"><MMString:loadString id="Commands/Create_Component/text/Properties" /><br><hr size=2 width="100%"></td></tr>
    <tr>
        <td class="label" valign="top"><img src="../Shared/MM/Images/transparent.gif" width="10" height="4"><br><MMString:loadString id="Commands/Create_Component/text/Properties_1" />&nbsp;</td>
        <td><input type="image" name="btn_propPlus" onClick="T.update('btn_propPlus')" src="../Shared/UltraDev/Images/PlusButton.gif" border="0" >
            <input type="image" name="btn_propMinus" onClick="T.update('btn_propMinus')" src="../Shared/UltraDev/Images/MinusButtonEnabled.gif" border="0" ><br>
            <select name="properties" size="6" onChange="T.update('properties')"></select>
        <td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Name" />&nbsp;</td>
        <td><input name="propName" type="text" class="basicTextField" onBlur="T.update('propName')" value=""></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Display" />&nbsp;</td>
        <td><input name="propDisplayName" type="text" class="basicTextField" onBlur="T.update('propDisplayName')" value=""></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Hint" />&nbsp;</td>
        <td><input name="propDescription" type="text" class="basicTextField" onBlur="T.update('propDescription')" value=""></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Type" />&nbsp;</td>
        <td><select name="propType" editable="true" onChange="T.update('propType')" onBlur="T.update('propType')"></select></td>
    </tr>
    </table>
</span>


<span id="methodsSection" style="z-index:103;" class="section">
    <table border="0" class="cls_CreateComponent_table_4>
    <tr><td colspan="2"><MMString:loadString id="Commands/Create_Component/text/Functions" /><br><hr size=2 width="100%"></td></tr>
    <tr>
        <td class="label" valign="top"><img src="../Shared/MM/Images/transparent.gif" width="10" height="4"><br><MMString:loadString id="Commands/Create_Component/text/Functions_1" />&nbsp;</td>
        <td><input type="image" name="btn_methodPlus" onClick="T.update('btn_methodPlus')" src="../Shared/UltraDev/Images/PlusButton.gif" border="0">
            <input type="image" name="btn_methodMinus" onClick="T.update('btn_methodMinus')" src="../Shared/UltraDev/Images/MinusButtonEnabled.gif" border="0"><br>
            <select name="methods" size="6" onChange="T.update('methods')"></select>
        <td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Name" />&nbsp;</td>
        <td><input name="methodName" type="text" class="basicTextField" onBlur="T.update('methodName')" value=""></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Display" />&nbsp;</td>
        <td><input name="methodDisplayName" type="text" class="basicTextField" onBlur="T.update('methodDisplayName')" value=""></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Hint" />&nbsp;</td>
        <td><input name="methodDescription" type="text" class="basicTextField" onBlur="T.update('methodDescription')" value=""></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Access" />&nbsp;</td>
        <td><select name="methodAccess" onBlur="T.update('methodAccess')" onChange="T.update('methodAccess')" ></select></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Return" />&nbsp;</td>
        <td><select name="methodResultType" editable="true" onChange="T.update('methodResultType')" onBlur="T.update('methodResultType')"></select></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Roles" />&nbsp;</td>
        <td><input name="methodRoles" type="text" class="basicTextField" onBlur="T.update('methodRoles')" value=""></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Output" />&nbsp;</td>
        <td><input type="checkbox" name="methodOutput" onClick="T.update('methodOutput')"></td>
    </tr>
    </table>
</span>


<span id="parametersSection" style="z-index:104;" class="section">
    <table border="0" class="cls_CreateComponent_table_5>
    <tr><td colspan="2"><MMString:loadString id="Commands/Create_Component/text/Function" /><br><hr size=2 width="100%"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Available" />&nbsp;</td>
        <td><select name="readOnlyMethods" onChange="T.update('readOnlyMethods')"></select></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label" valign="top"><img src="../Shared/MM/Images/transparent.gif" width="10" height="4"><br><MMString:loadString id="Commands/Create_Component/text/Arguments" />&nbsp;</td>
        <td><input type="image" name="btn_parameterPlus" onClick="T.update('btn_parameterPlus')" src="../Shared/UltraDev/Images/PlusButton.gif" border="0">
            <input type="image" name="btn_parameterMinus" onClick="T.update('btn_parameterMinus')" src="../Shared/UltraDev/Images/MinusButtonEnabled.gif" border="0"><br>
            <select name="parameters" size="6" onChange="T.update('parameters')"></select>
        <td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Name" />&nbsp;</td>
        <td><input name="parameterName" type="text" class="basicTextField" onBlur="T.update('parameterName')" value=""></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Display" />&nbsp;</td>
        <td><input name="parameterDisplayName" type="text" class="basicTextField" onBlur="T.update('parameterDisplayName')" value=""></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Hint" />&nbsp;</td>
        <td><input name="parameterDescription" type="text" class="basicTextField" onBlur="T.update('parameterDescription')" value=""></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Type" />&nbsp;</td>
        <td><select name="parameterType" editable="true" onChange="T.update('parameterType')" onBlur="T.update('parameterType')"></select></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Required" />&nbsp;</td>
        <td><input type="checkbox" name="parameterRequired" onClick="T.update('parameterRequired')"></td>
    </tr>
    <tr><td height="1"></td></tr>
    <tr>
        <td class="label"><MMString:loadString id="Commands/Create_Component/text/Default" />&nbsp;</td>
        <td><input name="parameterDefaultValue" type="text" class="basicTextField" onBlur="T.update('parameterDefaultValue')" value=""></td>
    </tr>
    </table>
</span>
</form>

</body>
</html>
