FrancisShanahan/SenchaTouch2MVCHelloworld — Issue #4: Doctype issues
Author: bstankowski
Created: 2012-01-29 12:23:30+00:00
State: open

Hi,

According to what Jay Garcia says in [this tutorial](http://www.sencha.com/learn/sencha-touch-2-class-system), Sencha Touch 2 apps must have an HTML doctype to avoid unexpected results. In your MVC demo, when you add doctype to index.html, list JSON data is not displayed, but when there is no doctype, you can’t use TabPanel with tabBarPosition set to 'bottom' instead of Carousel, because tabs are not visible (but JSON file is loaded). Try replacing your carousel with [this simple TabPanel example](https://gist.github.com/b5b605d65f0695f3d3cf) from Sencha docs.
Do you have any idea why your example doesn’t work with HTML doctype? I’d rather use it to avoid any potential issues later on, but can’t figure out what’s wrong here.

Thanks,
Bartek