NetTalk Central

Author Topic: NT6.04 resets are broken ?!  (Read 2910 times)

linas@debetas.lt

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • Email
NT6.04 resets are broken ?!
« on: November 24, 2011, 06:18:20 PM »
Hi Bruce,

I just download, and updated to nettalk 6.04 and I have noticed that the resets are broken, they were fin in the last nettalk5

there is main netwebform which has 3 tabs.
Each tab displays procedures (netwebbrowses)
on firt tab procedure client side i set to refresh the next tab procedure(whic is also the netwebbrowser) and now it is not refreshing.

 Note in nettalk 5 it was good.

I am not using the browses with the childs, much nice and better using tabs and procedures in them.
 Tested with childs: works, but to change all existing code to childs.... not willing.

Linas
« Last Edit: November 24, 2011, 06:20:30 PM by linas@debetas.lt »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: NT6.04 resets are broken ?!
« Reply #1 on: November 24, 2011, 07:46:59 PM »
can you tweak one of the examples to show the effect you're getting please Linus? I'd like to sort this out for today's build, but I think an example will help enormously in understanding your exact layout.

Cheers
Bruce

linas@debetas.lt

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • Email
Re: NT6.04 resets are broken ?!
« Reply #2 on: November 24, 2011, 07:54:22 PM »
Which example you wish? INstaling again Nettalk6.04 on VM

linas@debetas.lt

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • Email
Re: NT6.04 resets are broken ?!
« Reply #3 on: November 24, 2011, 08:18:51 PM »
I have played with the example 25
Created new menu item
created new webform (memory) with two tabs:
1 tab is the client list procedure call
2 tab is the invoice list procedure call

on first tab resets fields i set to reset the invoice list

on invoice list netwebbrowse i put a message in the event  Set filter 11 whic is not called....
The select on a client should reset the invoice list...

that was good in nettalk5

[attachment deleted by admin]

linas@debetas.lt

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • Email
Re: NT6.04 resets are broken ?!
« Reply #4 on: November 24, 2011, 08:50:43 PM »
Also in N6.04 the values of
web:StartDate
web:StartTime

became empty... they are web server values. If iI put a performance object which comes with wp:startdate and wp:starttime, then those are good, but not the web:startdate and web:starttime

Example 25 which I have added in a post before displays that issue.
« Last Edit: November 24, 2011, 08:52:30 PM by linas@debetas.lt »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: NT6.04 resets are broken ?!
« Reply #5 on: November 24, 2011, 10:38:56 PM »
yes, the web.StartDate and web.Start time have been deprecated because that functionality is now in the performance proeprties of the class.
You can access the properties directly, ie without having to add a control template, if you like by doing

loc:startdate = ThisWebServer.performance.startDate
loc:starttime = ThisWebServer.performance.startTime

or, I suppose, just make local variables and set them to
loc:startdate = today()
loc:starttime = clock()
which is even simpler.

cheers
Bruce



Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: NT6.04 resets are broken ?!
« Reply #6 on: November 24, 2011, 11:10:34 PM »
Example 25 was a good one, because I hadn't yet updated it to NT6.
Note that it uses a "Chrome" menu, one of the menus being deprecated.
As such it needs the "Include Chrome menu" option ticked for both the JavaScript and CSS (see WebServer procedure settings, Scripts tab and also Styles / files tab.)

I don't think that's your issue, but it was worth pointing out.

cheers
Bruce



Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: NT6.04 resets are broken ?!
« Reply #7 on: November 24, 2011, 11:32:57 PM »
resets fixed in 6.05

cheers
Bruce

linas@debetas.lt

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • Email
Re: NT6.04 resets are broken ?!
« Reply #8 on: November 27, 2011, 06:23:11 PM »
Thank you Bruce.

Keep going :)