You're talking about including a file based on client interaction. So
you'll need to do something with those select boxes (like an onChange
event). You would make the page self referencing, and add some code in
your cfml that conditionally includes based on what's selected.
Alternately, if you aiming for the slowest download award, you could
load all of the potential html templates into their own DIV and
conditionally hide/display them based on the onChange value. (This
would avoid the problem of having to make multiple http calls)
--
Billy Cravens
HR Web Development, Sabre
[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
>
> I have a database with country, city, url and datafile fields.
>
> The file is just a HTML file that I want to include into my template once
> the country and city have been
> selected from a dropdown list.
>
> What's the best way to include this file?
>
> <CFINCLUDE doesn't seem to work. I don't want to have to create mappings.
> The HTML file resides
> in each specfic country directory.
>
> -------------------------------------------------------------------------
> This email server is running an evaluation copy of the MailShield anti-
> spam software. Please contact your email administrator if you have any
> questions about this message. MailShield product info: www.mailshield.com
>
> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org
-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org