noushadali / openhab

Automatically exported from code.google.com/p/openhab
GNU General Public License v3.0
0 stars 0 forks source link

Classic-UI: Only one Webview-Widget per page #503

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add more than one webview widgets to a sitemap that should be shown at the 
same page.
2. show this sitemap

What is the expected output? What do you see instead?

Expected: All Webview-Widgets rendered

Instead: Only the first Webview-Widget is rendered. All following widgets are 
skipped..

What version of the product are you using? On what operating system?

openHAB 1.3.1 on RaspberryPi

Please provide any additional information below.

Example-Sitemap:
sitemap NotWorking label="Main Menu" {
    Frame {
            Webview url="http://www.openhab.org" height=16
        }
    Frame {
            Webview url="http://www.openhab.org" height=16
        }
}                  

Original issue reported on code.google.com by andreas....@googlemail.com on 2 Nov 2013 at 12:56

GoogleCodeExporter commented 9 years ago
Problem found!

I think the snippet for the webview widget is wrong.
Changing <iframe ...... /> to <iframe ...></iframe> fixes this!

Andreas

Original comment by andreas....@googlemail.com on 8 Nov 2013 at 8:19

GoogleCodeExporter commented 9 years ago
You are indeed right, thanks! Although I do not understand why this makes a 
difference...
Anyhow, fixed with commit 
https://github.com/openhab/openhab/commit/fdf09d05f7c9188c0bb8841920a58a300a068a
b9

Original comment by kai.openhab on 8 Nov 2013 at 9:39