NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: de la Rosa on January 31, 2017, 11:18:27 PM

Title: NT6 to NT9 conversion issue
Post by: de la Rosa on January 31, 2017, 11:18:27 PM
Hi,

I have an old NT6 project that needs to be converted to NT9, It's a NetWebPage with a routine that calls <!-- Net:Updateprocedure --> source procedure in its XHTML tab.

The problem is in NT9 it displays the html script loaded by the source procedure on the browser instead of the output of the script. Attached is the output in NT9.

Thanks,
Vic
Title: Re: NT6 to NT9 conversion issue
Post by: Bruce on February 01, 2017, 12:49:38 AM
Hi Vic,

I'm guessing one or other method in there is testing for HTML and "converting" it to text.
I'm sure the solution is simple, but can you post the CLW file with the source procedure? From the code I think the solution will be fairly obvious, but without it I'm just guessing.

cheers
Bruce
Title: Re: NT6 to NT9 conversion issue
Post by: de la Rosa on February 01, 2017, 04:03:06 PM
Hi Bruce,

Attached is the clw file of the NetWebSource procedure.

Thanks,
Vic
Title: Re: NT6 to NT9 conversion issue
Post by: Bruce on February 01, 2017, 09:46:03 PM
ok, so this "source" procedure is less "embedded html" and more "complete page".
But you're calling it from a NetWebPage. So hence, a "page inside a page".

Perhaps you can join us int eh User Group Webinar today and we can go through this in a bit more detail?
I'm sure the fix is straight-forward, but I think the architecture you are using may not be quite right.

cheers
Bruce
Title: Re: NT6 to NT9 conversion issue
Post by: de la Rosa on February 02, 2017, 12:17:35 AM
Hi Bruce,

Oh, ok. Yeah, I read about the page within a page issue in the Nettalk Book and corrected it. Thing is, it has been running fine for years in NT6 at customer sites. What do you suggest I do instead? It does display now but it doesn't blink as it used to. Before it was dependent on the browser and plug-in on whether it will stop refreshing after a set count, now it does not refresh. But the NT6 compile still works fine.

Will see but so far have not been successful in keeping my eyes open until Webinar hour. <bg>

Thanks Bruce!
Vic


     
Title: Re: NT6 to NT9 conversion issue
Post by: de la Rosa on February 05, 2017, 11:12:27 PM
Hi Bruce,

I set the timer on the NetWebSource but I notice it gets to fire only twice and stops. Once when the Page is loaded and after set time is reached.

Thanks,
Vic
Title: Re: NT6 to NT9 conversion issue
Post by: de la Rosa on February 05, 2017, 11:54:33 PM
It's ok Bruce, I think there is an offending script that is causing it.