Post some code and a sample file if applicable.



"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: James Schell
To: CF-Newbie
Sent: Sun Jun 10 15:44:57 2007
Subject: binding the value of a cfselect to a variable

Hello from cfnoob,


I am looking to bind the value of a cfselect box to a variable which is in
turn used as the file attribute in a cffile statement.

Basically I want the user to hit the drop down box and select a file from a
specified directory and then populate a series of text boxes with values
from the selected file. The file types are all xml. So this is my way of
displaying the values defined in the xml.

I just cannot seem to get the value of the myselect.selectedItem.data to
function in file="expandpath(#myselect.selectedItem.data#)"

Any help would be greatly appreciated.

Thanks

Jim



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 beta – Build next generation applications today.
Free beta download on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2824
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to