on 01-30-2017 3:37 PM
Hey,
I created a BSP application. Now I need to access the request object so I can write the code which handles an incoming request.
But how can I enter that object in a BSP? I didn't find a Object called request. Also I was wondering if I need an application class for that. After reading the documentation I don't think so but maybe someone here can help me out on this problem.
Thanks for any hints!
Ok I found out how and where to access the request object. So if there is someone unexperienced like me I gonna give a brief explanation.
My first mistake was that I wanted to enter the object directly in the onRequest-Eventhandler. What you gotta do is that you create a controller for your BSP application. (Right click on application->Create->Controller). Then you assign a controller class to the created Controller:
This class must be inherited by CL_BSP_CONTROLLER or CL_BSP_CONTROLLER2.
After that you can Access the object 'request' inside of your controller class.
Hope this could help someone sometime... 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.