How can I show information from external processes in N2O framefork.
Code like this:
tokyoWeather() ->
timer:sleep(10000),
Data = getTokyoWeater(),
??? SHOW_ON_PAGES,
tokyoWeather().
lisbonWeather() ->
timer:sleep(10000),
Data = getLisbonWeater(),
??? SHOW_ON_PAGES,
lisbonWeather().
Page1:
body() ->
[ #panel { id=TokyoWeather text= <<>> },
#panel { id=LisbonWeather, text= <<>> },
...].
Page2:
body() ->
[ #panel { id=TokyoWeather text= <<>> },
#panel { id=LisbonWeather, text= <<>> },
...].
Thanks in advance.