Maybe that API could be put closer to the user through our Network HTTPService? Harbs, can you respond in the SOF question?
El jue., 27 ago. 2020 a las 12:41, Harbs (<[email protected]>) escribió: > Communication between iframes can only be done with postMessage. > > Something like this: > > window["top"]["postMessage"]("foo", '*'); > if (window.parent != window["top"]) { > window.parent["postMessage"]("foo", '*'); > } > If you want to send the actual result of the POST, you should be able to > do that by adding the “transferrable": > > https://developer.mozilla.org/en-US/docs/Web/API/Transferable > > > On Aug 27, 2020, at 1:12 PM, Carlos Rovira <[email protected]> > wrote: > > > > Hi, > > > > a user is asking in SOF how to use HTTPService to target another iframe > > [1]. So what I understand he wants to do is use HTTPService from iframe > and > > send the response to another iFrame in the same page. > > > > He don't want to use BrowserWindow since use GET instead POST, so the > > solution was propose HTTPService since POST is supported > > > > But the problem is HTTPService can't open a new browser window and send > > urlvars. > > > > What could be the solution? > > > > [1] > > > https://stackoverflow.com/questions/63606642/target-attribute-for-a-form-post-in-apache-royale > > -- > > Carlos Rovira > > http://about.me/carlosrovira > > -- Carlos Rovira http://about.me/carlosrovira
