NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on August 02, 2010, 08:52:08 AM

Title: PR27 browse timer does not refresh.
Post by: Alberto on August 02, 2010, 08:52:08 AM
PR27 browse timer does not refresh.

You can see the request in the server log but the client page are not refreshed.

Taking a look at the sorce code, theres something different, before PR27 the line with the refresh code was larger.

PR25 works ok.

Alberto
Title: Re: PR27 browse timer does not refresh.
Post by: Alberto on August 03, 2010, 07:10:01 AM
Going back to previous vertions, the timer adds the following line

<script type="text/javascript">SetTimer('banalisisopciones_uanalisisopciones',9000,'refresh=current','_parentProc=uAnalisisOpciones');
</script>

Now the timer only adds

<script type="text/javascript">SetTimer('banalisisopciones_uanalisisopciones',9000,'','');
</script>
Title: Re: PR27 browse timer does not refresh.
Post by: Alberto on August 04, 2010, 01:54:06 AM
Bruce, is this solved in PR28?
Thanks
Title: Re: PR27 browse timer does not refresh.
Post by: Bruce on August 04, 2010, 08:01:36 AM
No Alberto - PR28 was up already before I saw your posting.
Title: Re: PR27 browse timer does not refresh.
Post by: Alberto on August 09, 2010, 05:39:30 AM
Could you reproduce it? any idea of when will it fixed?
Any way for me to fix it now?
Thanks
Alberto
Title: Re: PR27 browse timer does not refresh.
Post by: Bruce on August 09, 2010, 11:01:43 PM
Alberto,

I've tried duplicating in the Timers (46) example, but it seems to be working ok there.
I'm not sure if it has to do with some parent-child combination though, or something like that.

Can you see if you can duplicate in that example, and tweak it so it's doing the same as your app? Then send me the app & dict? I want to get PR29 out as soon as I can.

Thanks
Bruce
Title: Re: PR27 browse timer does not refresh.
Post by: Alberto on August 10, 2010, 02:43:39 AM
Bruce, I will try to reproduce it but the thing is simple:
Its a browse inside a memory form.
In older vertions the template genarates the line:

<script type="text/javascript">SetTimer('banalisisopciones_uanalisisopciones',9000,
'refresh=current','_parentProc=uAnalisisOpciones');
</script>

Now the timer only adds

<script type="text/javascript">SetTimer('banalisisopciones_uanalisisopciones',9000,'','');
</script>

Then the server receives the GET but the browse is not refreshed in the cliente side,
Does this help you?
Alberto
Title: Re: PR27 browse timer does not refresh.
Post by: Alberto on August 10, 2010, 04:07:12 AM
Bruce, I think its solved.
Problem was that between the PR changes the refresh type gets blanked.
I changed it to current and now it works.
Thanks
Alberto