<!--- 
 Filename: UsingFilmSearchCFC1.cfm
 Author: Nate Weiss (NMW)
 Purpose: Uses the FilmSearchCFC component to display a list of films
--->

<html>
<head><title>Film Search Example</title></head>
<body>

<!--- Invoke the ListFilms() method of the FilmSearchComponent --->
<cfinvoke component="FilmSearchCFC" method="listFilms"
 returnVariable="FilmsQuery">

<!--- Now output the list of films --->
<cfoutput query="filmsQuery">
 #FilmsQuery.MovieTitle#<br>
</cfoutput>

</body>
</html>
