Erwann G
Posts: 0
Joined: Sat May 10, 2014 11:57 am

Cannot call methods on listview prior to initalization

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!

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Cannot call methods on listview prior to initalization

Hello,

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

Erwann G
Posts: 0
Joined: Sat May 10, 2014 11:57 am

Cannot call methods on listview prior to initalization

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.

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Cannot call methods on listview prior to initalization

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

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Cannot call methods on listview prior to initalization

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

here is a workaround:

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

Hope this helps you.

Erwann G
Posts: 0
Joined: Sat May 10, 2014 11:57 am

Cannot call methods on listview prior to initalization

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.

Erwann G
Posts: 0
Joined: Sat May 10, 2014 11:57 am

Cannot call methods on listview prior to initalization

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

Alex GG
Posts: 0
Joined: Thu Nov 14, 2013 11:11 pm

Cannot call methods on listview prior to initalization

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..

Return to “Issues”