04-03-2019, 10:15 PM
(This post was last modified: 04-03-2019, 10:17 PM by pete@pdmagic.com.)
I'm trying to replace code that used to run under ReEntryURL with a Custom Content Handler.
I've created the handler and registered it. When I call it, all the code executes properly. If I use aReply.WriteString(), that works and is returned properly.
What I'm trying to do is display an updated form. The session is already active and the form already created. The form is also the currently active form. When the call is made, I manipulate the form using Delphi calls. I then simply return control back to the handler. However, no content is written to the Reply/Response. It's empty and generates a 'Uninitialized reply.' exception. (although it displays as a blank page - I've reported the reason for that to Alex already)
Do I need to make an additional call to tell IW that my form needs to be re-sent, updated?
Is what I'm trying to do even possible?
Thanks!
Pete
This is an app that gets called from a desktop (or another web) app. Basically REST is used to modify database content and then the desktop app opens a browser and displays the content. I had it working fine in earlier versions of IW before ReEntry went away.
I've created the handler and registered it. When I call it, all the code executes properly. If I use aReply.WriteString(), that works and is returned properly.
What I'm trying to do is display an updated form. The session is already active and the form already created. The form is also the currently active form. When the call is made, I manipulate the form using Delphi calls. I then simply return control back to the handler. However, no content is written to the Reply/Response. It's empty and generates a 'Uninitialized reply.' exception. (although it displays as a blank page - I've reported the reason for that to Alex already)
Do I need to make an additional call to tell IW that my form needs to be re-sent, updated?
Is what I'm trying to do even possible?
Thanks!
Pete
This is an app that gets called from a desktop (or another web) app. Basically REST is used to modify database content and then the desktop app opens a browser and displays the content. I had it working fine in earlier versions of IW before ReEntry went away.

