NetTalk Central

Author Topic: NT WS Update Form Errors  (Read 2609 times)

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
NT WS Update Form Errors
« on: April 26, 2013, 12:31:21 PM »
Each and every Form causes these two errors

Unusual Type Conversion
Field not found _POPUPDONE
as in
p_web.setsessionvalue('showtab_UpdateCities',Loc:InvalidTab)
    If (p_stage = net:web:div or p_stage = Net:Web:NextTab or p_stage = NET:WEB:StageValidate + Net:InsertRecord  or p_stage = NET:WEB:StageValidate + Net:ChangeRecord) and p_web.RequestAjax = 1 and loc:alert <> '' and p_web._popUpDone = 0
      p_web.Popup(loc:alert,net:Send)
    End

The problem seems to be "and p_web._popUpDone = 0"

How do I get rid of it?
« Last Edit: April 27, 2013, 12:04:27 AM by Johan van Zyl »
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
Re: NT WS Update Form Errors
« Reply #1 on: April 27, 2013, 10:20:10 PM »
 p_web.popUpDone = 0 works
 p_web._popUpDone = 0 does not

NT 6.52
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11194
    • View Profile
Re: NT WS Update Form Errors
« Reply #2 on: April 28, 2013, 10:47:13 PM »
Hi Johan,

I'm not sure if you have a question or not.
According to the release notes, in 6.45 the _popupdone property was renamed to popupdone.
And as far as I can see all the references in the Templates and Classes refer to popupDone not _popupDone.

You don't mention which build you were upgrading from, and you don't mention if you are seeing this error in embed code, or generated code, but it sounds like maybe it's in generated code.

If so you might want to unregister and then re-register the template. It sounds like you're using the latest class, but perhaps with an old template.

cheers
Bruce


Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
Re: NT WS Update Form Errors
« Reply #3 on: April 28, 2013, 11:57:59 PM »
It shows up in generated code - if I edit it there then it compiles fine - until the next proper re-compile!
Unregistered NetTalk and re-Registered - showed NT 6.31!
Unregistered NetTalk again and NetTalk wizards - reinstalled NT 6.52 - now shows NT 6.52 template registry - but I still get the same  _popupDone errors ?
Must I delete the whole lot - and re-install?
Delete the NetTalk folder in \accesory\Capesoft? What else?
Thx Bruce!
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11194
    • View Profile
Re: NT WS Update Form Errors
« Reply #4 on: April 29, 2013, 05:43:50 AM »
what version of clarion are you using?

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
Re: NT WS Update Form Errors
« Reply #5 on: April 29, 2013, 06:37:10 AM »
Clarion 8. 9285
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11194
    • View Profile
Re: NT WS Update Form Errors
« Reply #6 on: April 29, 2013, 09:25:32 PM »
ok,
from \clarion8\accessory\libsrc\win
delete net*.clw and net*.inc
also check in \clarion8\libsrc\win but there shouldn't be any there.

from\clarion8\accessory\template\win
delete nettalk.tpl and netweb*.tpw
also check in \clarion8\template\win but there shouldn't be anything there.

then re-install and re-register the template.

cheers
Bruce

Johan van Zyl

  • Full Member
  • ***
  • Posts: 180
  • jvz
    • View Profile
    • Email
Re: NT WS Update Form Errors
« Reply #7 on: April 30, 2013, 12:59:58 AM »
Resolved.
There were some files in \clarion8\template\win?
Thx Bruce
Johan van Zyl
Clarion 6.3 9058/C8 Gold/SQL/NetTalk WebServer