Solution for Extjs 2.3.0 (but i think it work for all version from 2.x and above)
If you see an error that Lollypop is not a constructor (in general that something is not a constructor) that should gives you a clue that that the javascript file that containing Lollypop (in general, object) has not been loaded for some amazing reason into your marvellous the page.
It can be 2 reason....
a) in 99% you simple didn't include this javascript file into page at all
so you should include this file using <script> tag , for example
<script src="scripts/my-candies/Lollypop.js"></script>
b) in rare case you misspell something with names.
Problem solved.
No comments:
Post a Comment