Strange Include problems: Repeat regions will Not workwith include file

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Strange Include problems: Repeat regions will Not workwith include file

    I have a strange problem. I have an Index.asp page and on that page I have a
    poll that is displays. This poll is located in a sub folder, so to call the
    poll, I simply use <include\mypoll\poll>, (just a regular include synthax. TThe
    poll includes a repeat region that repeats the questions that's all.

    On my index.asp page (Home Page) that this poll is displayed on (as an
    include) I have a repeat region that lists announcements from another DB. (poll
    is in different DB).
    Problem is:
    For some reason, only the poll or the repeat region for my announcement can
    function at any given time.
    That is, if I include the announcements (repeat region) The poll will not
    show. (display) and no errors are thrown, just white space. Only one of the
    repeat regions work at any given time.
    BUT if I do two repeat regions that don't have any include files, it works
    fine, so the problem is not that two repeat regions can not function on same
    page. SO my question is, what is wrong here and how do I get around it?
    Thanks,
    assigned


    logic Guest

  2. Similar Questions and Discussions

    1. error when try to include file with repeat regions
      Is it possible to include a file (.cfm) with repeat regions? If i do, both the main and included file does'nt work during editing. All the repeat...
    2. proper way to include constants; as module or include file?
      I am developing a new perl module that uses constants with regular expressions. What is the proper way to offer this file? For example, my perl...
    3. Every time i try to display records on an include page i get repeats of the whole include
      hi guys and ladies, here is my problem and i would be most grateful if any one could shed some light on this please: i have a default.asp page...
    4. #26259 [Opn->Bgs]: relative include path not working with include() from shell command line execut
      ID: 26259 Updated by: iliaa@php.net Reported By: orsaini at allainet dot com -Status: Open +Status: ...
    5. #26259 [NEW]: relative include path not working with include() from shell command line execut
      From: orsaini at allainet dot com Operating system: Lunux Apache 2.0.47 PHP version: 4.3.2 PHP Bug Type: ...
  3. #2

    Default Re: Strange Include problems: Repeat regions will Not work with include file

    If each repeat region is alone on its repective page, they both probably try
    to use the name "repeat1". This will cause conflicts, as when the first
    repeat region exhausts itself, the second will think it has, too.
    Name one of your repeat regions. You can find the name by selecting the
    region, then looking in the property inspector.

    "logic" <webforumsuser@macromedia.com> wrote in message
    news:d608kn$lro$1@forums.macromedia.com...
    >I have a strange problem. I have an Index.asp page and on that page I have
    >a
    > poll that is displays. This poll is located in a sub folder, so to call
    > the
    > poll, I simply use <include\mypoll\poll>, (just a regular include synthax.
    > TThe
    > poll includes a repeat region that repeats the questions that's all.
    >
    > On my index.asp page (Home Page) that this poll is displayed on (as an
    > include) I have a repeat region that lists announcements from another DB.
    > (poll
    > is in different DB).
    > Problem is:
    > For some reason, only the poll or the repeat region for my announcement
    > can
    > function at any given time.
    > That is, if I include the announcements (repeat region) The poll will not
    > show. (display) and no errors are thrown, just white space. Only one of
    > the
    > repeat regions work at any given time.
    > BUT if I do two repeat regions that don't have any include files, it works
    > fine, so the problem is not that two repeat regions can not function on
    > same
    > page. SO my question is, what is wrong here and how do I get around it?
    > Thanks,
    > assigned
    >
    >

    Lionstone Guest

  4. #3

    Default Re: Strange Include problems: Repeat regions will Not work with include file

    You can use

    Recordset1.Requery

    to requery the recordset.

    --
    Jules
    [url]http://www.charon.co.uk/charoncart[/url]
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004



    Julian Roberts Guest

  5. #4

    Default Re: Strange Include problems: Repeat regions will Notwork with include file

    Thanks to you. After I reanamed one of the repeat regions, something other than
    Repeat2, it worked perfectly.
    Makes me wonder, when you use two repeat regions, Dreamweaver names them
    Repeat 1 and Repeat2. Repeat1 is clearly different from Repeat two. Dreamweaver
    should have figured that out LOL.
    Well thanks Limestone. Your solution works
    assigned

    logic Guest

  6. #5

    Default Re: Strange Include problems: Repeat regions will Notwork with include file

    This works too.!
    Any new tutorials on ASP.NET?
    Thanks again
    assigned
    logic 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