NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: jking on November 17, 2023, 05:10:15 PM
-
Hi Bruce,
I'm trying to look at the Web19 example app. I get it compiled but when I run it and use a local browser (127.0.0.1:88) to view it, I see the screen in the attached image web19 server.png. There is very little code generated when viewing the page source. In the app itself, the only odd thing I see is it appears to be linking in ClaNetl.lib, as seen in the attached image web19 lib.png. Is this linking in the "Legacy" version of the NT templates?
Other example apps and my own production apps link in ClaNet.lib. Any suggestions about what is wrong here and how to fix?
Thanks,
Jeff King
-
Hi Jeff,
Are you hoping for this specific example to show you something? Or are you just browsing examples?
It's not a "common" example, and frankly doesn't really serve any purpose anymore. (It originated in the days when selecting a row in a table could be done multiple ways.)
ClaNetL means "local mode" - the app is set to compile in LIB mode, not DLL mode.
I'll leave you to figure out why the index page seems "thin". It's a case of new settings not being set...
Cheers
Bruce
-
Bruce,
Thanks! I did not know ClaNetL means "local mode". Learned something new today!
As for the Index page being "thin", I added the following to the XHTML tab:
<!-- Net:PageHeaderTag -->
<!-- Net:PageFooterTag -->
Now the Index page is "fat".
Jeff
-
>> As for the Index page being "thin", I added the following to the XHTML tab:
That's one way to do it - but I'm thinking there's an easier way... (hint: look at the template settings for the IndexPage procedure).
-
Bruce,
I think you mean the Page Settings on the General Tab, where you tick on Include Std Header and Include Std Footer. Is this correct?
Jeff
-
aye
-
I guess you CAN teach an old dog new tricks!
Jeff
-
who you calling old?....
no wait - who are you calling a dog ???
-
Bruce,
Me, of course!
Jeff