Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 10 of 13 total |
SubmitForm request complete |
Wed, Jun 25 2014 4:14 PM | Permanent Link |
Sergei Safar | Hi,
when we do a Panel1.SubmitForm, is there any event fired when the data arrives, something like RequestComplete ? Sergei Safar |
Wed, Jun 25 2014 4:33 PM | Permanent Link |
Walter Matte Tactical Business Corporation | >>Sergei Safar wrote:
>> >>when we do a Panel1.SubmitForm, is there any event fired when the data arrives, something like >>RequestComplete ? See the sample program provided with EWB - "FormSubmit" Answer YES - on the TPanel - fill in the property FormOutputPage with a TPage component. The response will be obtained via the TPage component. Walter |
Thu, Jun 26 2014 9:02 AM | Permanent Link |
Sergei Safar | Walter,
>>Answer YES - on the TPanel - fill in the property FormOutputPage with a TPage component. >>The response will be obtained via the TPage component. Thanks for the reply. I am already doing this. What I need is an event fired when the TPage receives the response. For example, as soon as the user clicks submit button (Panel1.SubmitForm is executed), a "wait.." label is shown. As soon as the response arrives the label shows "Done". Sergei Safar |
Thu, Jun 26 2014 9:28 AM | Permanent Link |
Uli Becker | Sergei,
how about using the "OnLoad" event of the TPage control? From the manual: property OnLoad: TNotifyEvent This event is triggered when the download of the script is complete and the script is loaded into the application's global execution context. Uli |
Thu, Jun 26 2014 9:30 AM | Permanent Link |
Uli Becker | Sorry, I copied the wrong text. Here the correct text:
property OnLoad: TNotifyEvent This event is triggered when the HTML document specified by the URL property has been completely loaded. Uli |
Thu, Jun 26 2014 9:36 AM | Permanent Link |
Matthew Jones | Sergei Safar wrote:
> Thanks for the reply. I am already doing this. What I need is an > event fired when the TPage receives the response. For example, as > soon as the user clicks submit button (Panel1.SubmitForm is > executed), a "wait.." label is shown. As soon as the response arrives > the label shows "Done". I do this in my applications, but I am either using the http server POST mechanisms, or the RemObjects SDK function calls. Do you have to use the SubmitForm mechanism? -- Matthew Jones |
Thu, Jun 26 2014 10:46 AM | Permanent Link |
Walter Matte Tactical Business Corporation | As Uli stated use the TPage - OnLoad
You can set the TPage to Visible := False - it does not have to display and you can then get the contents if that is what you are trying to do. Walter |
Thu, Jun 26 2014 12:38 PM | Permanent Link |
Sergei Safar | Hi,
thank you all for the answers. Now I tried OnLoad event but it seems that OnLoad is being triggered before TPanel is completed loaded. After a Panel.SubmitForm the browser waits for the web server answer (browser circle is rolling counter-clockwise) but Panel.OnLoad is already triggered. Sergei Safar |
Thu, Jun 26 2014 12:57 PM | Permanent Link |
Sergei Safar | Hi all,
please forgive me. There was a Page1.URL := 'about:blank' inside the OkClick of submit button causing this problem. Sergei Safar |
Thu, Jun 26 2014 1:01 PM | Permanent Link |
Sergei Safar | Matthew,
>>I do this in my applications, but I am either using the http server >>POST mechanisms, or the RemObjects SDK function calls. Do you have to >>use the SubmitForm mechanism? I use SubmitForm mechanism for simplicity. Is there any example on how to use server POST mechanism with EWB? Sergei Safar |
Page 1 of 2 | Next Page » | |
Jump to Page: 1 2 |
This web page was last updated on Friday, November 1, 2024 at 07:01 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |