-
27 Apr 2012 12:24 AM #1
URL for TabPanel Sub-Menu
URL for TabPanel Sub-Menu
There is a grouptabpanel contain several menu and sub-menu items with grid inside. For now, there is one and only way to access them all through
.Code:http://myweb.com/admin/public/
Let say there is a Configuration menu and Language sub-menu. The problem is, how to define a proper url, to get access directly to Language sub-menu. For example, the URL should be like http://myweb.com/admin/public/menu/language
Here is the initial code:
How to achieve that? Any advices or solutions really really appreciated.Code:xtype: 'grouptabpanel', tabWidth: 200, activeGroup: 6, items: [ { expanded: true, items: [ { xtype: 'portal', title: 'Configuration', tabTip: 'Dashboard tabtip', autoHeight: true, },{ title: 'Language', itemId: 'language', url : 'main/test2', layout: 'fit', iconCls: 'x-icon-tickets', tabTip: 'Language tabtip', style: 'padding: 10px;', items:[languages_grid] }
Thanks in advance.
Regards,
zakif
-
27 Apr 2012 8:43 AM #2
URL should be relative to your app: url: 'menu/language'.
Not sure I understand your question.
Regards,
Scott.
-
29 Apr 2012 7:52 PM #3
Still Failed
Still Failed
Thanks a lot scott for your reply.
All I mean is like make a url for any menu/sub-menu for every items inside a grouptabpanel. In common html, it usually something like http://mywebsite.com/title-post/comments#234 (with hashtag).
I've tried your suggestion, but still failed. Then, I've tried the following code but still failed too:
How to solve that?
Thanks in advance.
Code:xtype: 'grouptabpanel', tabWidth: 200, activeGroup: 6, items: [ { expanded: true, items: [ { xtype: 'portal', title: 'Configuration', tabTip: 'Dashboard tabtip', autoHeight: true, contentEl: 'menu' },{ title: 'Language', itemId: 'language', contentEl: 'language', layout: 'fit', iconCls: 'x-icon-tickets', tabTip: 'Language tabtip', style: 'padding: 10px;', items:[languages_grid] }
-
1 May 2012 2:16 AM #4
Almost Solved
Almost Solved
I've found this conversation in another forum thread:
http://www.sencha.com/forum/showthre...ther-tab-panel
The tabpanel item is just completed by id, ref, and itemId. But still, I can't replicate the suggested solution.
How to solve that? How to create a clickable link like: http://docs.sencha.com/ext-js/3-4/#!/api/Ext.TabPanel-cfg-boxMaxWidth ?
Thanks in adnvance.
Best regards,
Zaki


Reply With Quote