I am trying to have an optional way to pass an attribute to the
DisplayOption tag to specify which option I want to have selected.
The tag call:
-------------
<cf_DisplayOption value="#sc_ID#" displayText="#sc_lastname#,
#sc_firstname#" selectedOption="1">
In displaySelectMenu.cfm:
-------------------------
<cfparam name="Attributes.selectedOption" type="numeric" default="0">
<option value="#ThisTag.options[i].value#"
<cfif Trim(Form[Attributes.column]) EQ ThisTag.options[i].value
OR
ThisTag.options[i].selected EQ "1"> selected
</cfif>>
#ThisTag.options[i].displayText#</option>
This is not working for me. I am checking the value of
Attributes.selectedOption after the param, but is always 0.
Dan
---------------------
Dan O'Keefe
TriPoint Technologies
561-703-8976
**********************************************************************
You can subscribe to and unsubscribe from lists, and you can change
your subscriptions between normal and digest modes here:
http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
**********************************************************************