Hi,

I am trying to rewrite an old custom tag of ours that takes in a query and
outputs it with right options selected.  Nothing too tricky...except that I
can not work out how to get around using evaluate.

Anyone got any pointers?

This is the code:

<cfoutput query="caller.#attributes.query#">
  <option value="#evaluate("#attributes.value#")#" <cfif
listfind(attributes.selected,evaluate("#attributes.value#"))>SELECTED</cfif>
>#evaluate("#attributes.display#")#
 </cfoutput>

Thanks,

Sam




______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to