Telegram_2019-07-24T04

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2019 > 07 > 24 >

Telegram_2019-07-24T04

Telegram link

 

2019-07-24T04:14:14

 

Sorry, what do you mean?

 


 

Telegram link

 

2019-07-24T04:14:35

 

how do you register your content handler

 


 

Telegram link

 

2019-07-24T04:15:16

 

THandlers.Add('', 'openview', TContentView.Create);

 


 

Telegram link

 

2019-07-24T04:15:46

 

Registration inside servercontroller.onconfig

 


 

Telegram link

 

2019-07-24T04:17:00

 

try

 

THandlers.AddStartHandler

 


 

Telegram link

 

2019-07-24T04:17:35

 

and register it using type: bot_command /myservice as the path

 


 

Telegram link

 

2019-07-24T04:18:30

 

And in aDocument?

 


 

Telegram link

 

2019-07-24T04:19:48

 

you can use it as document and leave path empty

 


 

Telegram link

 

2019-07-24T04:20:02

 

it will work the sme

 


 

Telegram link

 

2019-07-24T04:20:02

 

ah ok

 


 

Telegram link

 

2019-07-24T04:23:02

 

404 resource not found

 


 

Telegram link

 

2019-07-24T04:23:30

 

Browser opens with this: \ type: link http://127.0.0.1:8888/openview \

 


 

Telegram link

 

2019-07-24T04:24:13

 

Sorry

 


 

Telegram link

 

2019-07-24T04:24:24

 

resource not found for my fault

 


 

Telegram link

 

2019-07-24T04:24:53

 

But the registration is right

 


 

Telegram link

 

2019-07-24T04:25:24

 

In debug it enters the contenbase.execute

 


 

Telegram link

 

2019-07-24T04:31:31

 

If you compile the \ContentHandlersDemo\ adding the flag, then the content handlers won't work anymore