Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 2 of 2 total |
EWBModule |
Mon, Aug 11 2014 6:57 AM | Permanent Link |
Nils Sorensen | Hi
I am trying out modules and wonder if anybody could tell me why this do not work: procedure TExampleDataModule.EWBModuleExecute(Request: TEWBServerRequest); begin { Fill in the module execution code here. You can have a single module handle multiple parameters, etc. Use the Request.RequestURL and Request.RequestURLParams/Request.RequestParams to determine which parameters were passed into the module for the request. } with Request do SendContent('Resultat1',200,'OK'); NtsRed; end; I think the prog must have 'arrived' in the module as Page1 echoes back 'Resultat1'. but nothing more happens. NtsRed is an ordinary procedure (Delphi XE6) and when done, the module shoud just exit back to the calling prog. (Nothing except for an OK if successful as NtsRed does all the there is to do: (reducing a jpg and writing it to a blobfield after reduction. Is there a way to trigger this procedure? Nils |
Mon, Aug 11 2014 8:28 AM | Permanent Link |
Nils Sorensen | Nils Sorensen wrote:
Hi I am trying out modules and wonder if anybody could tell me why this do not work: procedure TExampleDataModule.EWBModuleExecute(Request: TEWBServerRequest); begin { Fill in the module execution code here. You can have a single module handle multiple parameters, etc. Use the Request.RequestURL and Request.RequestURLParams/Request.RequestParams to determine which parameters were passed into the module for the request. } with Request do SendContent('Resultat1',200,'OK'); NtsRed; end; I think the prog must have 'arrived' in the module as Page1 echoes back 'Resultat1'. but nothing more happens. NtsRed is an ordinary procedure (Delphi XE6) and when done, the module shoud just exit back to the calling prog. (Nothing except for an OK if successful as NtsRed does all the there is to do: (reducing a jpg and writing it to a blobfield after reduction. Is there a way to trigger this procedure? Nils Hi Problem solved please ignore this post Nils |
This web page was last updated on Monday, October 14, 2024 at 05:15 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |