root/trunk/website/soundings/survey.cfm @ 5

Revision 5, 0.7 kB (checked in by DanWilson, 17 years ago)

Initial Commit Of ModelGlue? Website (upgrade to blogcfc 511)

Line 
1<cfsetting enablecfoutputonly=true>
2<!---
3        Name         : surveycfm
4        Author       : Raymond Camden
5        Created      : September 21, 2004
6        Last Updated : March 10, 2006
7        History      : work w/o mapping (rkc 3/10/06)
8        Purpose          : Displays a survey
9--->
10<cfimport taglib="./tags/" prefix="tags">
11
12<cfif not isDefined("url.id") or not len(url.id)>
13        <cflocation url="index.cfm" addToken="false">
14</cfif>
15<cftry>
16        <cfset survey = application.survey.getSurvey(url.id)>
17        <cfcatch>
18                <cflocation url="index.cfm" addToken="false">
19        </cfcatch>
20</cftry>
21
22<!--- Loads header --->
23<tags:layout templatename="main" title="Survey: #survey.name#">
24
25        <tags:surveyDisplay survey="#survey#"/>
26               
27</tags:layout>
28
29<cfsetting enablecfoutputonly=false>
Note: See TracBrowser for help on using the browser.