dsmes
October 2nd, 2008, 03:26 PM
In Lua code associated with a CCF, I do the following to send a web page to a NR browser frame.
Function GetSomethingFromWeb()
local Page = socket.http.request(url_of_page)
-- scrap the page
...
Page = htm_start..Temp..Page.."</body></html>"
NetRemote.ExecuteAction(-2,1,33,'HourlyForecast_Page,'..Page)
end;
where "HourlyForecast_Page" is the web browser frame in NR.
How do I do this from a Girder Lua script? Specifically, how do I push the web page from Girder to NR and then get the browser frame in NR to update itself?
Function GetSomethingFromWeb()
local Page = socket.http.request(url_of_page)
-- scrap the page
...
Page = htm_start..Temp..Page.."</body></html>"
NetRemote.ExecuteAction(-2,1,33,'HourlyForecast_Page,'..Page)
end;
where "HourlyForecast_Page" is the web browser frame in NR.
How do I do this from a Girder Lua script? Specifically, how do I push the web page from Girder to NR and then get the browser frame in NR to update itself?