Shubhamjain007 / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

openHAB Sencha 2.0 UI - Type Error #74

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Defining some items in the sitemap:
   Frame {
    Group item=gEG  label="Erdgeschoss"   icon="groundfloor"
    Group item=gOG  label="Obergeschoss"  icon="1stfloor"
    Group item=gUG  label="Untergeschoss" icon="cellar" 
    }
2. Opening Sencha 2.0 - http://localhost:8080/touch/

3. An Type Error occurs: Cannot read property 'id' of undefined

The System is:
- Windows 7 64Bit
- Google Chrome V. 17.0.963.56

Original issue reported on code.google.com by pjatisch...@gmail.com on 21 Feb 2012 at 8:36

GoogleCodeExporter commented 8 years ago
What exactly is different to the demo sitemap here?

Original comment by kai.openhab on 22 Feb 2012 at 8:57

GoogleCodeExporter commented 8 years ago
Hi, pjatischler. Are you sure you have defined "gEG", "gOG" and "gUG"? Seems 
the app can't find the further tree to build the interface.

Original comment by mishoboss on 22 Feb 2012 at 9:10

GoogleCodeExporter commented 8 years ago
I checked the definition and all groups are defined in the items file. I ve 
tested the sitemap for each group item separately without any problem.

Original comment by pjatisch...@gmail.com on 22 Feb 2012 at 9:55

GoogleCodeExporter commented 8 years ago
Please, send to my mail your items and sitemap files. Thanks.

Original comment by mishoboss on 22 Feb 2012 at 11:54

GoogleCodeExporter commented 8 years ago
Sorry for the late response. You haven't put anything in the "OG_Flur" group, 
so it's empty. openHAB returns no "linkedPage" data, but the app search for it 
and return error. I have fixed this issue. However you have to put something in 
the "OG_Flur" group to have it displayed under the "Obergeschoss -> Flur" menu 
:)

Regards,
Mihail

Original comment by mishoboss on 27 Feb 2012 at 9:39

GoogleCodeExporter commented 8 years ago
Thank u very much for your help!

Original comment by pjatisch...@gmail.com on 6 Mar 2012 at 6:37

GoogleCodeExporter commented 8 years ago

Original comment by mishoboss on 22 Mar 2012 at 7:28