NetTalk Central

Author Topic: Understanding a Template/Embed issue  (Read 2775 times)

Poul

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Understanding a Template/Embed issue
« on: February 18, 2015, 08:18:44 AM »
While trying to debug why my netwebForm dies, i am seeing a behaviour that i was not sure if is by design or not.
its likely a red herring to my issue, but it distracted me to thinking something was corrupt, at first.

In the embeditor I try to add a debug message as the last statement of GenerateForm Routine.
There is no embed point ,so  i  kludged at the last available embed the following
Code: [Select]
! Start of "Form Button Set : 1a Previous"
! [Priority 5000]
     END
  END
  ds_debug(clip(P_STAGE), 'From UpdProjectDeal GenerateForm END ') ! I Add this at Line 1995
  if 1=2
    if 1=2         
       
What i noticed is this code gets generated in many places, in GenerateForm, Heading Routine ...
I then open the web31 example and it exhibits the same behaviour. if  i add to any of the
embeds  with "Form Button Set" comments to the UpdateInvoices procedure.

As It appears to be by design, could i get a standard embed point at the bottom of  GenerateForm or after the DO GenerateForm?

poul

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Understanding a Template/Embed issue
« Reply #1 on: February 20, 2015, 12:07:33 AM »
Hi Poul,

>> As It appears to be by design,

indeed it is -

>>  could i get a standard embed point at the bottom of  GenerateForm or after the DO GenerateForm?

Done for build 8.36

cheers
Bruce