PDA

View Full Version : where to get source code of sencha index.html (http://docs.sencha.com/ext-js/4-1/)



linyajun
22 Nov 2012, 10:10 PM
well i want to know the layout of index.html and how center panel load page when click node in left treenode .
can someone tell me where i can get resource code ?
thank you

mitchellsimoens
26 Nov 2012, 7:39 AM
What do you mean "center panel load page"?

linyajun
26 Nov 2012, 8:57 PM
I mean when click left tree node then center panel open a tabpanel,i want to now the tabpanel items is a whole file(like html、php..) or just a extjs components.

if tabpanel items is file ,then how tabpanel load a whole file ?thanks!

by the way, can you tell me where i can find the source of index.html ?

linyajun
26 Nov 2012, 8:59 PM
I mean when click left tree node then center panel open a tabpanel,i want to now the tabpanel items is a whole file(like html、php..) or just a extjs components.<br><br>if tabpanel items is file ,then how tabpanel load a whole file ?thanks!<br><br>by the way, can you tell me where i can find the source of index.html ?

Arg0n
27 Nov 2012, 1:06 AM
I think JSDuck (https://github.com/senchalabs/jsduck), which is used for the documentation, uses the MVC structure of ExtJs. So if you click a link in the TreePanel on the lefthand side, it will call an action in a controller, which adds a tab and the controller perhaps loads the content in the tab or it has it own loader. Hard to say xD

MVC: http://docs.sencha.com/ext-js/4-1/#!/guide/application_architecture

(http://docs.sencha.com/ext-js/4-1/#!/guide/application_architecture)