You cant build a set of cfoutput tags dynamically (question and statement) ? Currently 
we have to copy/paste one bit of code into different scenerios so that we can modify 
the positions of the <cfoutput query="queryname" group="fieldname"> tags has anyone 
come across a better way to do this / dynamically build <cfoutput> tags without using 
the database for the grouping of fields?

Maybe I'm going down the wrong track.. but is it possible to build a page and evaluate 
the whole page after the page is built?  I guess if I could do this, it would fix part 
of my problem.

Currently the only part solution I have come accross is nesting cfoutput query group's 
and using the same field name for grouping where a group is not required. I'm sure 
there must be a better way. If I throw the same if statement around any of the 
cfoutput open and close tags.. it throws an error.

<cfoutput query="queryname" group="fieldname1">
  <!--- CODE HERE IF ABOVE AND BELOW GROUP ARE NOT THE SAME --->
    <cfoutput group="fieldname1">
       <!--- CODE HERE IF ABOVE AND BELOW GROUP ARE NOT THE SAME  --->
       <cfoutput group="fieldname2">
          <!--- CODE HERE IF ABOVE AND BELOW GROUP ARE NOT THE SAME --->
       </cfoutput>
    </cfoutput>
</cfoutput>

Maybe I'm going down the wrong track all together? has anyone done something with a 
concept similar but using a different method?

Gareth.

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to