| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 99,281
» Latest member: pg55cafe
» Forum threads: 2,426
» Forum posts: 11,373
Full Statistics
|
| Online Users |
There are currently 823 online users. » 2 Member(s) | 817 Guest(s) Applebot, Bing, Google, Yandex, PaulWeem, pg55cafe
|
| Latest Threads |
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
Yesterday, 05:33 PM
» Replies: 1
» Views: 302
|
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
Yesterday, 05:31 PM
» Replies: 2
» Views: 360
|
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 274
|
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 620
|
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 348
|
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 794
|
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 315
|
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,462
|
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 464
|
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 1,169
|
|
|
| IWButton |
|
Posted by: Borbainfo - 12-27-2019, 08:21 PM - Forum: IntraWeb Dúvidas Gerais
- Replies (2)
|
 |
Boa tarde.
Minha duvida é sobre clicar no IWButton via codigo no Delphi, no VCL tem Button1.Click.
Qual o comando no Delphi para Clicar no IWButton ?
Delphi 10.2 Update 3
IntraWeb 15.1.5
Bootstrap 4
|
|
|
| Webservice demo ? |
|
Posted by: SorenJensen - 12-27-2019, 01:49 PM - Forum: IntraWeb General Discussion
- Replies (6)
|
 |
Hi Guys,
Merry Christmas everyone. I hope you have had some nice holidays.
I just completed a SOAP Webservice example with Server and Client, and are now wondering if there are any similar demo projects around, to use with IntraWeb.
I have a Windows program running on remote units around the world, which connects to my database (MS SQL) using a SOAP Webservice. The WebService is an MS SQL End-point, consisting of a number of stored procedures all added to an endpoint and published as a HTTP.SYS Webservice on the SQL 2008 server. The system is about 10 years old.
After updating to SQL 2017, endpoints is discontinued, so to make it work again, I'll have to create my own SOAP Webservice to repond to requests from the remote clients. I want the WebService server to reside as a stand alone application, like my IntraWeb SA application, on the MS SQL server, without depending on IIS or other page provider.
That's why I am looking for a demo showing how I can be done. Anybody know where I should look ?
NB! The above mentioned test also runs on my SQL server as an EXE file and it responds nicely to requests from the client on my workstation, so I could probably use it, but currently the appl is running as a visual windows program. A solution could be to make it run like a service.
Regards
Soren
|
|
|
| onAsyncClick sometimes does not work |
|
Posted by: MrSpock - 12-26-2019, 06:58 PM - Forum: IntraWeb General Discussion
- Replies (5)
|
 |
Some languages allow unicode characters for variable names. PHP does that and so does Delphi. Unfortunately AJAX does not recognise unicode characters in variable names so it is necessary to change all intraweb component names so that they contain only ASCI characters. Problem shows only with onAsyncClick, not with onClick.
|
|
|
| SessionTimeOut use |
|
Posted by: tinygoldwing - 12-26-2019, 05:36 PM - Forum: IntraWeb General Discussion
- No Replies
|
 |
I currently set the SessionTimeOut from a config file in IWServerControllerBaseCreate. But I'd like to take it further by setting it looking at the parameters that are passed. I don't think WebApplication exist yet when BaseCreate is called so I can't use webapplication.RunParams.Text
Anyone know how I can do this?
Thanks,
Ed
Never mind. I didn't know you could update it with Webapplication.SessionTimeout.
|
|
|
| Unit name for Exceptions |
|
Posted by: tinygoldwing - 12-26-2019, 05:10 PM - Forum: IntraWeb General Discussion
- Replies (1)
|
 |
I want to ignore the exception EInvalidAppID
So I added the following code to the ServerController under IWServerControllerBaseConfig
ExceptionLogger.RegisterIgnoreException(EInvalidAppID);
My problem is I don't know what unit has the exceptions class is. I get Undeclared identifier: EInvaildAppID
Thanks and have a great day.
Ed
|
|
|
| Unitialized Reply |
|
Posted by: Raphael - 12-17-2019, 02:27 PM - Forum: IntraWeb Dúvidas Gerais
- Replies (8)
|
 |
Bom dia,
Estou utilizando de ContentHandlers para realizar requisições de dados simples, como por exemplo obter um data source json para preenchimento de um Chart ou até mesmo a criação de um datatable de forma dinâmica.
Exemplificando melhor a questão:
Code: solicitação
Pagina de Dados ----------------> ContentHandler
resposta
Pagina de Dados <---------------- ContentHandler
No entanto estou recebendo a seguinte mensagem "Uninitialized Reply".
Segue abaixo meu fonte:
Code: procedure TIWServerController.IWServerControllerBaseConfig(Sender: TObject);
begin
// This framework requires to disable IW embeded JQuery
JavaScriptOptions.RenderjQuery := False;
with THandlers.Add('/', 'getGraphicData', TContentChart.Create) do
begin
CanStartSession := false;
RequiresSessionStart := true;
end;
end;
Code: if Assigned(aReply) then
begin
//Verify action
if aParams.Values['action'] = 'GV' then
begin
try
FDataSet := TFDQuery.Create(nil);
FDataSet.SQL.Clear;
...
...
FDataSet.Open();
JSON := '[' + sLineBreak;
FDataSet.First;
while not FDataSet.Eof do
begin
...
...
FDataSet.Next;
end;
JSON := ']' + sLineBreak;
aReply.WriteString(JSON);
finally
FreeAndNil(FDataSet);
end;
end;
end;
end;
Está faltando ou preciso implementar algo?
Desde já agradeço a atenção.
|
|
|
|