Okay, I have a question, a "how would you do it?" kind of question.  Keep in 
mind that I am designing for and using Fusebox 4.

I have a table called tblSection that contains a record for each section on a 
web page I want to display.  For example, if I wanted to find out what was on a 
certain webpage, call it A, I would do a query on that web page A's PageID and 
receive back a number of SectionID's.

Now, I want to have my application "build" these sections placing the html 
results in their own content variable (easy to do in CF4).

I know that I could build all the sections and then only use those content 
variables that the query of tblSection tells the application to include, but I 
want to avoid the overhead of building all those superfluous sections.

Here's one way:

Do the query and check for each section in result, set some Boolean variable 
for that section to True/False based on show/do not show.
In the fusebox, check value of Boolean with <if></if> tag.  Inside the <if> tag 
execute the fuse to build the content variable.

But that seems awkward and unwieldy.  But it is the only way I can think of.  
Please tell you can think of something better.

Bobby Nichols

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:210870
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to