-
19 Feb 2009 10:35 AM #1
Nothing rendering
Nothing rendering
Hello
I'm new with ExtJS but i really like it!
I have created some Code using the Ext 2.0 GUI Builder but I'm not able to bring this to work
here's my little code:
I think it is something small but without any experience of extjs it is really hard to find oOCode:<script type="text/javascript"> Ext.onReady(function(){ Ext.QuickTips.init(); new Ext.Viewport({ layout:"border", items:[{ region:"center", title:"", items:[{ xtype:"toolbar", title:"Panel", height:30, items:[{ text:"Knowledge Base", xtype:"tbbutton" },{ text:"Glossar", xtype:"tbbutton" }] }] },{ region:"north", title:"", height:60 },{ region:"south", title:"South", height:30, xtype:"toolbar" },{ region:"west", title:"Navigation", width:100, split:true, collapsible:true, titleCollapse:true }] } ); }); </script>
-
19 Feb 2009 10:42 AM #2
add a render call at the end. It will default to document.body so if you don't want that, you can specify a renderTo: config option in the viewport and give it the id of one of the elements in your html page.
Code:new Ext.Viewport({ layout:"border", items:[{ region:"center", title:"", items:[{ xtype:"toolbar", title:"Panel", height:30, items:[{ text:"Knowledge Base", xtype:"tbbutton" },{ text:"Glossar", xtype:"tbbutton" }] }] },{ region:"north", title:"", height:60 },{ region:"south", title:"South", height:30, xtype:"toolbar" },{ region:"west", title:"Navigation", width:100, split:true, collapsible:true, titleCollapse:true }] } ); }).render();
-
19 Feb 2009 12:50 PM #3Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
19 Feb 2009 1:40 PM #4
@jgarcia
You know that the ext team are working on a visual tool and they tried to explain to you that this is a valuable tool but you keep telling people not to use these tools.
I find it rude. Why do you come to a company website and tell people not to use their products?
You add so much noise to this forum with this kind of posts and the ridiculous pictures you add to your posts. It is suppose to be a professional forum.
-
19 Feb 2009 1:48 PM #5Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28
You obviously don't get the point of my response, so I'll spell it out for you.
If you use a tool like that you're bound to not to learn the framework, and post issues like this! You posted the code that the designer created. If you had taken the time to learn the container and layout models you would not be in this issue in the first place!
Furthermore, posting "I'm not able to bring this to work" is an extremely vague problem!Last edited by jay@moduscreate.com; 19 Feb 2009 at 1:50 PM. Reason: removed 'invalid code' msg

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
19 Feb 2009 1:48 PM #6Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
19 Feb 2009 1:52 PM #7Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
19 Feb 2009 1:54 PM #8Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- Frederick MD, NYC, DC
- Posts
- 16,169
- Vote Rating
- 28

Jay Garcia @ModusJesus || Modus Create co-founder
Ext JS in Action author
Sencha Touch in Action author
Get in touch for Ext JS & Sencha Touch Touch Training
We are also working on Video-based Sencha Touch training: Check it out here.
-
20 Feb 2009 2:37 AM #9
Thanks for your Replys
The problem was a misspelled css-path
shame on me


Reply With Quote