NetTalk Central

Author Topic: NT 14.04, Web19 example app issue  (Read 879 times)

jking

  • Sr. Member
  • ****
  • Posts: 400
    • View Profile
    • Email
NT 14.04, Web19 example app issue
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11186
    • View Profile
Re: NT 14.04, Web19 example app issue
« Reply #1 on: November 19, 2023, 11:20:35 PM »
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

jking

  • Sr. Member
  • ****
  • Posts: 400
    • View Profile
    • Email
Re: NT 14.04, Web19 example app issue
« Reply #2 on: November 20, 2023, 11:08:40 AM »
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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11186
    • View Profile
Re: NT 14.04, Web19 example app issue
« Reply #3 on: November 20, 2023, 09:25:00 PM »
>> 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).

jking

  • Sr. Member
  • ****
  • Posts: 400
    • View Profile
    • Email
Re: NT 14.04, Web19 example app issue
« Reply #4 on: November 21, 2023, 09:23:01 AM »
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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11186
    • View Profile
Re: NT 14.04, Web19 example app issue
« Reply #5 on: November 21, 2023, 10:56:21 PM »
aye

jking

  • Sr. Member
  • ****
  • Posts: 400
    • View Profile
    • Email
Re: NT 14.04, Web19 example app issue
« Reply #6 on: November 22, 2023, 09:15:56 AM »
I guess you CAN teach an old dog new tricks!

Jeff

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11186
    • View Profile
Re: NT 14.04, Web19 example app issue
« Reply #7 on: November 22, 2023, 10:20:34 PM »
who you calling old?....
no wait - who are you calling a dog ???

jking

  • Sr. Member
  • ****
  • Posts: 400
    • View Profile
    • Email
Re: NT 14.04, Web19 example app issue
« Reply #8 on: November 23, 2023, 04:36:33 AM »
Bruce,

     Me, of course!

Jeff