Telegram_2020-05-21T22

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2020 > 05 > 21 >

Telegram_2020-05-21T22

Telegram link

 

2020-05-21T22:13:06

 

Veja este demo: type: link https://github.com/Atozed/IntraWeb/tree/master/XIV/Delphi/ContentHandlers

 


 

Telegram link

 

2020-05-21T22:13:39

 

Acabei de editá-lo para permitir isso. Veja o código no ServerController:

 

procedure TIWServerController.IWServerControllerBaseConfig(Sender: TObject);

 

var

 

FormHandler: TContentForm;

 

begin

 

THandlers.Add('', 'mydoc.html', TContentRedirect.Create(' type: bot_command /AtozedDoc .html'));

 

FormHandler := TContentForm.Create(TBlueForm);

 

// You can start the session using http:///blueform.html

 

FormHandler.CanStartSession := True;

 

FormHandler.RequiresSessionStart := False;

 

THandlers.Add('', 'blueform.html', FormHandler);

 

FormHandler := TContentForm.Create(TRedForm);

 

// But you can't start the session using http:///redform.html

 

// in this case it will be redirected to the main page

 

FormHandler.CanStartSession := True;

 

FormHandler.RequiresSessionStart := True;

 

THandlers.Add('', 'redform.html', FormHandler);

 

end;

 


 

Telegram link

 

2020-05-21T22:13:40

 

Eu já consigo navegar com os handlers...

 


 

Telegram link

 

2020-05-21T22:13:55

 

Isto ei já fiz ..

 


 

Telegram link

 

2020-05-21T22:13:57

 

É exatamente isso que estou mostrando lá

 


 

Telegram link

 

2020-05-21T22:14:46

 

O problema é aquele setAsMain

 


 

Telegram link

 

2020-05-21T22:14:58

 

nao é

 


 

Telegram link

 

2020-05-21T22:15:30

 

Vou rever aqui então....

 


 

Telegram link

 

2020-05-21T22:15:42

 

Eu já navego as páginas todas com a URL ..

 


 

Telegram link

 

2020-05-21T22:16:02

 

Mais vlw vou rever QQ coisa eu te pergunto

 


 

Telegram link

 

2020-05-21T22:17:29

 

Estou falando de iniciar uma sessão através de um endereço registrado para um handler

 


 

Telegram link

 

2020-05-21T22:17:44

 

Estou vendo aqui o demo