<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<title>Simple Contact Manager</title>
	<link rel="STYLESHEET" type="text/css" href="default.css">
</head>

<body>

<!---/// Load the Contact from the database ///--->
<cf_cfoCreateObject class="Contact" object="aContact">
<cf_cfoInvokeMethod object="#aContact#" method="collectFields">
<cf_cfoInvokeMethod object="#aContact#" method="load">

<!---/// To see debug information, uncomment this line
	to produce an object dump.
<cf_cfoInvokeMethod object="#aContact#" method="dump">
///--->

<!---/// Display the contact ///--->
<cf_Menu con_id="#aContact.con_id#">

<cf_cfoInvokeMethod object="#aContact#" method="display">


<p>
<!---/// 
	Although there is an EDIT option in the menu, 
	give the user another way to invoke it...
///--->
<form action="handler.cfm" method="post">
<cfoutput>
	<input type="hidden" name="event" value="edit">
	<input type="hidden" name="con_id" value="#aContact.con_id#">
</cfoutput>
	<input type="submit" value="Edit...">
</form>

</body>
</html>
