CFDIV as main content area - good idea ? bad ?
Hi everyone... I will try to keep this brief but if anyone can help answer this question it would be immensely helpful.
I'm jumping from CF 6 to CF 9 so as you can imagine it's quite a learning curve.
I'm developing a new application, and I would like to have a drop-down DHTML menu across the top, and a main content area to use for everything else.
I've tried a few things that haven't worked, but have found what seems like a solution using CFMENU and CFDIV.
What hasn't worked is using regular old-school frames, and using cflayout. In both cases the drop-down DHTML menu won't cross the border of the frame/layout, so the items are never seen.
So what I have so far is a main page that just has the CFMENU at the top, and a content CFDIV taking up the rest of the page, and am using the Coldfusion.Navigate function to load the various menu options into the CFDIV.
With the few things I have tried so far, I haven't run into any problems, I've been able to do some CFGRID stuff with a child CFFORM etc, all seems well.
My main question is: is there any reason why I shouldn't move forward with this approach ?
I was always hesitant to use any of the older CF UI tags, because they were in java and just didn't seem to work that great.
I'm just concerned that basically, I'm running my entire application inside a CFDIV, so I don't want to get a month into this thing to find out that there are browser issues or, certain tags etc don't work.
I've figured out that I have to use CFAJAXIMPORT etc on my main page, and that I can't use CFFILE tags in a CFDIV, just wondering if there were any other limitations / concerns that I should be aware of.
I would think this isn't that uncommon of a layout/design, but I haven't been able to find much information on how other people would approach it with CF 9.
Also one final add-on question... is it ok to load complete CFM files inside the CFDIV ? What I mean is, all my files have <html><head><body> etc, seems like it's loading a complete HTML file inside of another, didn't know if that caused any sorts of conflicts.
Many many thanks in advance for any advice/suggestions anyone out there might have.
