Page 1 of 1

Cannot call methods on listview prior to initalization

Posted: Sat May 10, 2014 11:57 am
by Erwann G

Hello,

Here is the situation:
I have a collapsibleSet in a page, and in every collapsibleContent there is a list, all automatically mapped from a REST Service.

When executing the service and fetching the data in the collapsibleSet/ collapsibleContent I get the following error:
Image

It seems that the error is not coming from my code but from Appery's.

Thanks in advance for your help!


Cannot call methods on listview prior to initalization

Posted: Sat May 10, 2014 12:11 pm
by Igor

Hello,

Could you show us your code? If you comment your JS code will you get this error?


Cannot call methods on listview prior to initalization

Posted: Sat May 10, 2014 10:05 pm
by Erwann G

Well the code I have on the page has nothing to do with the listview, but I tried to comment it and this is the same.

It is really the execution of the service and mapping to the elements of the UI that make the error. And I have no additional javascript in that.


Cannot call methods on listview prior to initalization

Posted: Sat May 10, 2014 10:14 pm
by Igor

Please share your app public link and tell us the steps how can we reproduce this.
http://docs.appery.io/documentation/t...


Cannot call methods on listview prior to initalization

Posted: Sat May 10, 2014 10:27 pm
by Alex GG

Hi Erwann,
I guess this is the same problem I had..

here is a workaround:

https://getsatisfaction.com/apperyio/...

Hope this helps you.


Cannot call methods on listview prior to initalization

Posted: Sun May 11, 2014 9:56 pm
by Erwann G

The link http://appery.io/app/view/97f9c25d-7b...
And just login with user "erwann" and password "ssssss", you'll be on the page where there is the error.


Cannot call methods on listview prior to initalization

Posted: Sun May 11, 2014 9:58 pm
by Erwann G

Thanks Alex! The workaround is about droping the listview and using grids instead?


Cannot call methods on listview prior to initalization

Posted: Sun May 11, 2014 10:14 pm
by Alex GG

Yes,,,at the end, I removed the list item that was inside a grid (and causing the error), and redesign everything with grids-image-label components..