Details
Description
The contentStack renders out the following javascript:
<script type="text/javascript">mobi.layoutMenu.initClient('j_idt6:contentStack',{stackId: 'j_idt6:contentStack',selectedId: 'page1', single: false,hash: 106426242,selClientId: 'j_idt6:page1',home: 'null',client: false});</script>
The layoutMenu functions are only available when the Content Stack Menu or Content Nav Bar is rendered on the page, so when it's not on the page, this call results in the following error:
Uncaught TypeError: Cannot call method 'initClient' of undefined index.jsf:13
(anonymous function)
<script type="text/javascript">mobi.layoutMenu.initClient('j_idt6:contentStack',{stackId: 'j_idt6:contentStack',selectedId: 'page1', single: false,hash: 106426242,selClientId: 'j_idt6:page1',home: 'null',client: false});</script>
The layoutMenu functions are only available when the Content Stack Menu or Content Nav Bar is rendered on the page, so when it's not on the page, this call results in the following error:
Uncaught TypeError: Cannot call method 'initClient' of undefined index.jsf:13
(anonymous function)
Issue Links
- depends on
-
MOBI-672 Client side api for contentStack using core rendering for JSP as well as JSF implementation
- Open
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #38306 | Sun Sep 29 16:49:26 MDT 2013 | philip.breau | - move js into main component.js file so it's always available |
Files Changed | ||||
MODIFY
/icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/contentstack/ContentStackRenderer.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #38305 | Sun Sep 29 16:39:12 MDT 2013 | philip.breau | - move js into main component.js file so it's always available |
Files Changed | ||||
MODIFY
/icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/contentstack/ContentStackRenderer.java
DEL /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.layoutmenu MODIFY /icemobile/trunk/icemobile/jsf/components/component/src/org/icefaces/mobi/component/contentstackmenu/ContentStackMenuRenderer.java MODIFY /icemobile/trunk/icemobile/jsf/components/component/resources/org.icefaces.component.util/component.js |