Sounds like an o.k solution.. but would still like to see if there is any other solutions.
Gareth. -----Original Message----- From: Stewart Johnston [mailto:[EMAIL PROTECTED] Sent: Tuesday, 11 May 2004 8:45 AM To: CFAussie Mailing List Subject: [cfaussie] RE: dynamic built cfoutput tags? you can actually build a string of cfml (or read from a db) and save it to a temp file and cfinclude it the performance hit is not as bad as you might think - its not ideal but it can be useful in some circumstances - dont forget to clean up the temp file and error handle it so your clean up always works Stewart -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gareth Edwards Sent: Tuesday, 11 May 2004 8:04 AM To: CFAussie Mailing List Subject: [cfaussie] dynamic built cfoutput tags? 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 --- 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 --- 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
