PDA

View Full Version : Displaying html pages as panels



drewying
21 Dec 2010, 1:19 PM
Hey guys, new to Sencha Touch and loving it!

Is there an easy way to load an html page as a panel? ie

var panel = new Ext.Panel({
fullscreen; true,
html: mypage.html})

and then have the panel load the html code from mypage.html

This would make the iPhone conversion of my current site I'm portablizing a million times easier. (It's a giant database of single entry html files.)

Thanks!

-Drew

drewying
21 Dec 2010, 3:09 PM
Nevermind. I figured out an AJAX call that does it. :) If there is an alternate way otuside AJAX to do this let me know! Not a big deal if not.

-Drew