|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
CFMODULE & parameters
Cheers!
Can I give references to queries as attributes to CFMODULE? So is this valid? Code:
<cfquery name="myQuery"> SELECT something FROM whatever </cfquery> <CFMODULE template="MyTemplate.cfm" data="#myQuery#"> And within MyTemplate.cfm I would: Code:
<cfoutput query="#attributes.data#"> #something# <br> </cfoutput> So is this valid? Any other comments? |
|
#2
|
|||
|
|||
|
Yup that should be valid!
__________________
Ask if you have a question, but also help answer questions that you have knowledge of! Thanks, Brian. How to Post a Question in the Forums |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > CFMODULE & parameters |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|