Closed GoogleCodeExporter closed 8 years ago
I am aware of all these issues and they are mainly due to the fact that the
used UI framework does not support any asynchronous updates of widgets at all.
E.g. a page is not even reloaded, when you go a page back (i.e. up in the
hierarchy as in issue 2).
To circumvent this missing support, I have implemented a fairly simply,
proprietary long-poll background request, which reloads the current page
completely, if at least one item state has changed on it. This solution is
clearly not perfect, but works imho good enough for the mobile (not always on)
use case; again, the tablet UI should definitely work more reliable here.
Nonetheless, as you have more JS knowledge, feel free to look at the JS parts
in
http://code.google.com/p/openhab/source/browse/bundles/ui/org.openhab.ui.webapp/
snippets/main.html (here mainly the event listeners for "endasync" and
"endslide") and suggest improvements to them.
Original comment by kai.openhab
on 7 May 2011 at 9:12
As I do not see an easy way to solve these problems and there are by now two
other UIs as alternatives available, I am rejecting this issue. I hope this is
ok for you.
Original comment by kai.openhab
on 2 Feb 2012 at 9:37
Original issue reported on code.google.com by
mishoboss
on 7 May 2011 at 11:47