Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
Daniel Eng #1
How to reload a <cfinclude> only document?
Hi, I have a CFM page index.cfm that contains <cfinclude template="form.cfm">.
Is it possible to reload just the form.cfm page without reloading the index.cfm
as well? The reason being I dun want the whole page to reload again after I
update a database which is in form.cfm
Thanks!
Daniel Eng Guest
-
Reload current document?
Running DW8, building an insertObject() extension; 2 problems that appear related to loading the current document. Problem 1: DW maintains the... -
cfinclude nav menus
The drop-down menus in my site are contained in a cfinclude file so I only have to edit one file to make site wide menu changes. Can search engines... -
SSL with CFINCLUDE
I have plenty of CF experience, but am utililzing SSL for the first time. I was told of course that all pages must reference with https// and that... -
Swaping DIV that contain CFinclude
Hi this following code <div class="ContentAreaDiv"> <p class="pageHeader">Kingdom Stages Rally 2003</p> <p class="pageSubHeader">Results</p> ... -
CFINCLUDE
I'm not sure what your problem is. CFINCLUDES can be nested both on the same page and in sub pages; however, it can get pesky if the overall HTML... -
Dan Bracuk #2
Re: How to reload a <cfinclude> only document?
The only reason for this reply is to attempt to increment the replies count to a number > 0.
Dan Bracuk Guest
-
jjsand28 #3
Re: How to reload a <cfinclude> only document?
Not that I'm aware of. But if yu're updating with the same info would it really matter?
jjsand28 Guest
-
Adam Cameron #4
Re: How to reload a <cfinclude> only document?
> Hi, I have a CFM page index.cfm that contains <cfinclude template="form.cfm">.
In short... the answer to the question you are asking is "no: it is not> Is it possible to reload just the form.cfm page without reloading the index.cfm
> as well? The reason being I dun want the whole page to reload again after I
> update a database which is in form.cfm
possible".
However I don't think what you're asking is actually what you want to do
anyhow!
You have to remember that it's the client browser that determines what gets
loaded where, and when and how: the CF server has nothing to do with it.
It just responds to requests.
What you might consider doing is splitting the "stuff you want to refresh"
and the "stuff you don't want to refresh" into two different areas on the
client screen. This is most easily facilitated with frames or iframes,
although it's also possible just with divs.
You still need to make a complete request back to the CF server to
reprocess the "stuff you want to refresh", but if the request is targetted
to a specific frame (or div), then only that part of the screen will
refresh.
--
Adam
Adam Cameron Guest



Reply With Quote

