How to reload a <cfinclude> only document?

Ask a Question related to Coldfusion - Getting Started, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. Reload current document?
      Running DW8, building an insertObject() extension; 2 problems that appear related to loading the current document. Problem 1: DW maintains the...
    2. 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...
    3. 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...
    4. 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> ...
    5. 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...
  3. #2

    Default 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

  4. #3

    Default 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

  5. #4

    Default Re: 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
    In short... the answer to the question you are asking is "no: it is not
    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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139