<!-- Copyright 2001, 2002, 2003 Macromedia, Inc. All rights reserved. -->
<!DOCTYPE HTML SYSTEM "-//Macromedia//DWExtension layout-engine 5.0//dialog">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
           "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:MMString="http://www.macromedia.com/schemes/data/string/">
<head>
	<title><MMString:loadString id="TagLibraries/CFML/cflock/title" /></title>
<script src="../../Shared/Common/Scripts/ListControlClass.js"></script>
<script src="../../Shared/Common/Scripts/tagDialogsCmn.js"></script>
<script src="loc_strings.js"></script>
<script src="strings.js"></script>
<script>
/************************* GLOBAL VARS **************************/

var TYPELIST;
var SCOPELIST;
var theUIObjects;

/****************************************************************/

function inspectTag(tagNodeObj)
{
  tagDialog.inspectTagCommon(tagNodeObj, theUIObjects); 
}

function applyTag(tagNodeObj)
{
  tagDialog.applyTagCommon(tagNodeObj, theUIObjects); 
}

function initializeUI()
{
  TYPELIST = new ListControl("thetype"); 
  SCOPELIST = new ListControl("thescope"); 
  theUIObjects = new Array(TYPELIST,SCOPELIST); 

  tagDialog.populateDropDownList(TYPELIST, theLockTypeCap, theLockTypeVal, 0)
  tagDialog.populateDropDownList(SCOPELIST, theLockScopeCap, theLockScopeVal, 1)
}
</script>
<link href="../../fields.css" rel="stylesheet" type="text/css">
</head>

<body onLoad="initializeUI();">
<div MMString:name="TagLibraries/CFML/cflock/div/name/General"> 
  <table border="0" cellspacing="4">
    <tr> 
      <td valign="baseline" align="right" nowrap="nowrap"><MMString:loadString id="TagLibraries/CFML/cflock/text/Name" /> </td>
      <td nowrap="nowrap"> 
        <input name="thename" type="text" class="medTField" id="attr:cflock:name" attname="name" />
      </td>
    </tr>
    <tr> 
      <td valign="baseline" align="right" nowrap="nowrap"><MMString:loadString id="TagLibraries/CFML/cflock/text/Timeout" /> </td>
      <td nowrap="nowrap">
        <input name="thetimeout" type="text" class="basicTextField" id="attr:cflock:timeout" attname="timeout" required="true" />
      </td>
    </tr>
    <tr> 
      <td valign="baseline" align="right" nowrap="nowrap"><MMString:loadString id="TagLibraries/CFML/cflock/text/Type" /> </td>
      <td nowrap="nowrap">
        <select name="thetype" class="oneWordOptionList" id="attr:cflock:type" attname="type" editable="true" required="true">
        </select>
      </td>
    </tr>
    <tr> 
      <td valign="baseline" align="right" nowrap="nowrap"><MMString:loadString id="TagLibraries/CFML/cflock/text/Scope" /> </td>
      <td nowrap="nowrap">
        <select name="thescope" class="oneWordOptionList" id="attr:cflock:scope" attname="scope" editable="true">
        </select>
      </td>
    </tr>
    <tr> 
      <td valign="baseline" align="right" nowrap="nowrap">&nbsp;</td>
      <td nowrap="nowrap">
        <input type="checkbox" id="attr:cflock:throwontimeout" name="thethrowontimeout" attname="throwontimeout" truevalue="yes" falsevalue="no" />
        <MMString:loadString id="TagLibraries/CFML/cflock/checkbox/thethrowontimeout/Throw" />
      </td>
    </tr>
  </table>
</div> 
</body>
</html>
