NetTalk Central

Author Topic: Duplicating browse and children over and over on page  (Read 5486 times)

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Duplicating browse and children over and over on page
« on: November 02, 2008, 10:02:58 PM »
Help! All of the sudden I've got my browses with children proc duplicating over and over again on my pages, in some cases causing the app to crap out from the overhead. Any idea where I might start to figure this one out? I've tried copying the newest script files to the web\scripts directory.

I think it's happened either on PR 17 or maybe even before and I just didn't notice it. A file is attached, showing what is happening.

As an update: I copied the app and data files to the example app Web3 and it does the exact same thing.

[attachment deleted by admin]
« Last Edit: November 02, 2008, 10:09:27 PM by Mike Grigsby »
Mike Grigsby
Credify Systems
Central Oregon, USA

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Duplicating browse and children over and over on page
« Reply #1 on: November 03, 2008, 06:04:27 AM »
Hi Mike,

My guess is that in your page you simply have a recursive call.
ie check if you are including the form as a child of itself (or a "child loop") - look for procedures embedded in the xhtml tab, and so on.

Cheers
Bruce


Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Re: Duplicating browse and children over and over on page
« Reply #2 on: November 07, 2008, 01:18:38 AM »
Bruce, I've whittled this app down to its nubbins. If you log in with UID and PWD of "admin" without quotes, you'll see the Home Page area duplicates over and over (though other lists were too, but I took them out because it's just the home page having problems). I simply can't see anything that would make it duplicate itself over and over.

The program for this app and dct is running at http://204.10.18.17:8181.

If anyone could check me, I've attached a zip file with the App and DCT. Thank you!
« Last Edit: November 07, 2008, 08:42:25 AM by Mike Grigsby »
Mike Grigsby
Credify Systems
Central Oregon, USA

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Duplicating browse and children over and over on page
« Reply #3 on: November 07, 2008, 07:44:30 AM »
Hi Mike,

you need to add your web folder to your example because it contains a number of custom js and html files that your program is using.

Cheers
Bruce

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Re: Duplicating browse and children over and over on page
« Reply #4 on: November 07, 2008, 08:41:59 AM »
Thanks Bruce, it's always very late in the evening when I get to this stuff. The new zip is attached with the web directory. Thank you!

[attachment deleted by admin]
Mike Grigsby
Credify Systems
Central Oregon, USA

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Re: Duplicating browse and children over and over on page
« Reply #5 on: November 11, 2008, 12:16:59 PM »
Bruce, did anything look obvious to you from this example?
Mike Grigsby
Credify Systems
Central Oregon, USA

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Re: Duplicating browse and children over and over on page
« Reply #6 on: November 27, 2008, 02:07:31 AM »
I think I've figured out what is causing this problem. Something must have changed in one of the releases, or maybe I missed something. I used to be able to add a child proc to a browse. All of the sudden, each child proc started using its own header and footer, and they didn't used to do that. The result is a new header and footer for each child proc.

Now I have to figure out how to turn off the header/footer for each child proc. So I tried putting two single quotes in under the advanced tab, but now it shows the child proc under the footer, not next to the browse. Any ideas Bruce?
« Last Edit: November 27, 2008, 02:18:35 AM by Mike Grigsby »
Mike Grigsby
Credify Systems
Central Oregon, USA

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Re: Duplicating browse and children over and over on page
« Reply #7 on: November 27, 2008, 02:44:20 AM »
Okay, I've figure it out. I gave one of the pages the same name as the one calling it. DUH!
Mike Grigsby
Credify Systems
Central Oregon, USA