bbm Posted February 5, 2022 Share Posted February 5, 2022 Hi I'm currently testing the demo "HTTP Post Callback - URLFrame - Auto Target". I would like to test the callback function in my application. Instead of displaying an HTML page in the uniURLFrame, I would like to display a page from a second server (also my own uniGUI application) via uniURLFrame.URL. A callback event should then be triggered back in the page of the other server displayed in the frame, which is then sent to the window of the uniURLFrame. How can I trigger the callback event? Many greetings Quote Link to comment Share on other sites More sharing options...
Sherzod Posted February 5, 2022 Share Posted February 5, 2022 Hello, Can you please explain in more details? Quote Link to comment Share on other sites More sharing options...
bbm Posted February 5, 2022 Author Share Posted February 5, 2022 Hi, In the sample project, the frame from which the callback event comes is created as HTML text. In this HTML text, placeholders are replaced by call information. <form name="input" action="{URL_CALLBACK}" method="POST"> <a href="{CANCEL_URL}"> In my application, the page of another application should be displayed in the frame. For this, the URL property of the frame is used to refer to the other application. The other application was also developed by me (also uniGUI). How can I trigger the event (mycallback) of this application, just like from the HTML page? Sc:=UniSession.CallbackUrlEx('mycallback', Self, ['RES', 'OK']); S:=StringReplace(S, '{URL_CALLBACK}', Sc, []); Sc:=UniSession.CallbackUrlEx('mycallback', Self, ['RES', 'CANCEL']); S:=StringReplace(S, '{CANCEL_URL}', Sc, []); I want to trigger the event by clicking a button in the second application Best regards Quote Link to comment Share on other sites More sharing options...
bbm Posted February 7, 2022 Author Share Posted February 7, 2022 Hi Sherzod, do you need more input or more information? Best regards Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.