NetTalk Central

Author Topic: When to tick send new value to server  (Read 3298 times)

sabra

  • Newbie
  • *
  • Posts: 28
    • View Profile
    • Email
When to tick send new value to server
« on: December 21, 2010, 01:04:30 PM »
I'm serious confused on when to tick this value on and when to use add server code. Do i have to tick send new value IF i have code attached?
The reason for asking this is that i have two drop fields and two browses on a memory file driven form and that the reset functions do not work (anymore) , although i see that e.g. the browse receives a new filter (session value). Also hide and unhide the second drop field (condition p_web.gsv('sv_filter') <> 'C' ) does not work (anymore)

5.06 / 90.56

Cheers Walter

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: When to tick send new value to server
« Reply #1 on: December 21, 2010, 02:36:02 PM »
Yes. If you have server side code you need this ticked. Add a debug point to your server side code to see if it is being triggered eg p_web._trace('Server side code running')

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: When to tick send new value to server
« Reply #2 on: December 21, 2010, 10:31:49 PM »
If the window is not updating then most likely the stuff coming back is not xHtml compliant.

To see what's happening, run firefox, with firebug, and open the "console" window.
Change a drop-down and see if a packet comes back to the server (it'll appear in the console).
then click on the XML tab of the reply to see if the reply is valid xml.

cheers
Bruce