|
<< Click to Display Table of Contents >> Navigation: Telegram > 2019 > 08 > 07 > Telegram_2019-08-07T05 |
2019-08-07T05:10:38
what?
2019-08-07T05:10:45
so how it renders? LOL
2019-08-07T05:12:07
When I activate the sync mechanism, and it fires, then MYFOrm does not trigger the OnRender, but triggers the AfterRender... I am going crazy
2019-08-07T05:14:11
No Alex. Don't follow me... I am wrong
2019-08-07T05:14:13
sorry
2019-08-07T05:15:01
that's fine.
2019-08-07T05:15:30
I'm doing some other modifications to that demo so I can test other scenarios....
2019-08-07T05:15:50
My problem is that in OnBackButton I can't see the out-of-sync form name
2019-08-07T05:16:05
so nothing fires in that form
2019-08-07T05:16:10
logically
2019-08-07T05:18:46
If I read HiddenFields in the form, do I have any chance to catch the problem?
2019-08-07T05:23:39
That's weird
2019-08-07T05:29:54
you are using cookies, right?
2019-08-07T05:30:09
yes
2019-08-07T05:37:51
during your OnBackButton event, add a watch which has this:
VResyncInfo.Session.Request
2019-08-07T05:38:11
ok
2019-08-07T05:40:43
Done
2019-08-07T05:40:46
click on the magnifying glass and check all fields
2019-08-07T05:40:51
done
2019-08-07T05:40:58
content fields
2019-08-07T05:41:02
yes
2019-08-07T05:41:11
can you paste a screen shot here?
2019-08-07T05:42:01
hum... you are debuging it wrong ??
2019-08-07T05:42:11
click on the magnifying glass
2019-08-07T05:42:21
on the first line, second column
2019-08-07T05:43:20
we had a tremendous work to create a THttpRequest debug visualizer, so you guys should be using it ??
2019-08-07T05:43:31
sorry
2019-08-07T05:43:35
EMPTY
2019-08-07T05:43:49
query fields?
2019-08-07T05:44:01
so which kind of request is this?
2019-08-07T05:44:58
I am stopped here in debug
2019-08-07T05:44:59
can you show me again how you are creating this request?
2019-08-07T05:45:10
all hidden fields should be there
2019-08-07T05:45:30
this is a custom JavaScript right?
2019-08-07T05:46:31
see how it should be in a
ormal\ request
2019-08-07T05:46:44
the form name is there... and many other stuff missing in your request
2019-08-07T05:46:44
yes. I click on a link who call a js, which call a IW callback
2019-08-07T05:46:56
can you show me the javascript?
2019-08-07T05:47:12
the issue is probably there... in your code or IW code
2019-08-07T05:53:40
Set
ServerController.JavaScriptOptions.ForceAjaxPost = True
2019-08-07T05:54:01
see if the formname is correct
2019-08-07T05:54:26
I mean... se if the request ContentFields/QueryFields now contain the FormName
2019-08-07T05:55:24
I have not this option...
2019-08-07T05:55:40
sorry
2019-08-07T05:56:02
it should be in SecurityOptions
2019-08-07T05:56:06
ok
2019-08-07T05:56:09
SC.SecurityOptions.ForceAjaxPost
2019-08-07T05:56:39
yes found
2019-08-07T05:58:30
good
2019-08-07T05:58:43
yes. it is the right flag
2019-08-07T05:58:58
now it should be able to sync your forms
2019-08-07T05:59:07
it is \almost\ ok
2019-08-07T05:59:09
and if they are in sync, the callbacks will work
2019-08-07T05:59:31
almost looks better than 1 hour ago ??
2019-08-07T05:59:42
yes it is, indeed
2019-08-07T05:59:59
I let you go