NetTalk Central

Author Topic: CreateHyperLink  (Read 1867 times)

bshields

  • Sr. Member
  • ****
  • Posts: 392
    • View Profile
    • Inhabit
    • Email
CreateHyperLink
« on: June 19, 2010, 06:30:02 AM »
Hi,

I think this is a bug for bruce.

When you set XHTML in column in a NetWebBrowser. The _JSOK does its job and all. But if you set "Link to Form" the CreateHyperLink function needs its 8th parameter p_html set to 1 when XHTML is also set as 1. Either i'm doing something wrong or this is a regression.

I'm on the latest version.

Thanks
Bill

bshields

  • Sr. Member
  • ****
  • Posts: 392
    • View Profile
    • Inhabit
    • Email
Re: CreateHyperLink
« Reply #1 on: June 19, 2010, 08:03:17 AM »
Hi Bruce,

Found some more issues, all related to the same problem.

Tracked it down to template #Group(%MaybeMakeIntoHyperLink) in NetWeb.TPW. When the procedure CreateHyperLink is used the p_HTML isnt getting set. I just added

,,,,'&%AllowHtml&' to each of the four CreateHyperLink  and its all back working ok.

Regards
Bill




Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11179
    • View Profile
Re: CreateHyperLink
« Reply #2 on: June 21, 2010, 12:14:28 AM »
Thanks Bill - was a regression.
I've tweaked it for PR21

cheers
Bruce