<!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>

<CF_MENU>
<H1>My Contacts</H1>

<!---/// First, we begin by getting a list of all contacts.  The "getAll"
	method will return a query with all contacts.  Note that we are calling
	this method on the class (not an instance of the class).  The getAll
	method is known as a "static method" -- it does not require that you
	first call CreateObject.  After getAll executes, there will be a local
	variable named "getAll.contacts" that contains the contacts as a query.
///--->
<CF_CFOINVOKEMETHOD CLASS="Contact" METHOD="getAll">

<!---/// Next, call another class method to display the query
	in a nice tabular format organized by last name.  If a contact
	is seletced, the trigger the "contactSelected" event. 
///--->
<CF_CFOINVOKEMETHOD CLASS="Contact" METHOD="displayList"
	QUERY="#getAll.contacts#"
	EVENT="contactSelected">

</BODY>
</HTML>
