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
Philip Breau
created issue -
Philip Breau
made changes -
Field | Original Value | New Value |
---|---|---|
Summary | ContentStack generates JS error if used without ContentStackMenu on the page | ContentStack generates JS error if used without ContentStackMenu or ContentNavBar on the page |
Philip Breau
made changes -
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 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) |
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) |
Steve Maryka
made changes -
Assignee | Steve Maryka [ steve.maryka ] | Judy Guglielmin [ judy.guglielmin ] |
Judy Guglielmin
made changes -
Philip Breau
made changes -
Assignee | Judy Guglielmin [ judy.guglielmin ] | Philip Breau [ philip.breau ] |
Philip Breau
made changes -
Assignee | Philip Breau [ philip.breau ] | Judy Guglielmin [ judy.guglielmin ] |
Philip Breau
made changes -
Assignee | Judy Guglielmin [ judy.guglielmin ] | Philip Breau [ philip.breau ] |
Philip Breau
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Fix Version/s | 1.4 Beta [ 10874 ] | |
Resolution | Fixed [ 1 ] |
Philip Breau
made changes -
Fix Version/s | 1.3.1 [ 11376 ] | |
Fix Version/s | 1.4 Beta [ 10874 ] |