Details
Description
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
On the Android in BB runtime, one problem was the inability to navigate off the main menu. A POST was observed and a response received by the device, but the following logging message was received and no
in-page replacement of contents were seen:
[window] Error [status: malformedXML code: undefined] Cannot read property 'id' of undefined at http://<url>/javax.faces.resource/bridge.uncompresses.js.jsf?ln=ice.core&v=3_3_0_130415:1336
In the following response it seems to me that an element with the id, "javax.faces.ViewBody" would likely be the culprit, and would not likely be present in the body.
From the Android container in BB runtime, the body of the update was:
2000
<?xml version='1.0' encoding='UTF-8'?>
<partial-response><changes><update id="javax.faces.ViewBody">
<![CDATA[<body id="_t8"><div class="ui-body-a" id="j_idt11_pgPnl"><div class="mobi-pagePanel-header ui-header ui-header-fixed ui-bar-a" id="j_idt11_pgPnlHdr"><div class="mobi-pagePanel-ctr">
<form action="/mobileshowcase/showcase.jsf" enctype="application/x-www-form-urlencoded" id="toolbar2" method="post" name="toolbar2">
<input name="toolbar2" type="hidden" value="toolbar2" />
<input name="ice.window" type="hidden" value="q4hfy5aa77" /><input name="ice.view" type="hidden" value="v6f176" /><script id="toolbar2_captureSubmit" type="text/javascript">ice.captureSubmit('toolbar2',false);ice.captureKeypress('toolbar2',null);</script><a class="ui-icon ui-icon-home" href="#" id="_t13" onclick="mojarra.jsfcljs(document.getElementById('toolbar2'),
,'');return false" title="☰"></a>
</form>
<span>Mobile Suite</span></div></div><div class="mobi-pagePanel-body" id="j_idt11_pgPnlBdy"><div id="contentStack"><div id="splash_wrp"><div class="mobi-contentpane-hidden " id="splash"></div></div><div id="menu_wrp"><div class="mobi-contentpane " id="menu">
<form action="/mobileshowcase/showcase.jsf" enctype="application/x-www-form-urlencoded" id="j_idt30" method="post" name="j_idt30">
<input name="j_idt30" type="hidden" value="j_idt30" />
<input name="ice.window" type="hidden" value="q4hfy5aa77" /><input name="ice.view" type="hidden" value="v6f176" /><script id="j_idt30:j_idt30_captureSubmit" type="text/javascript">ice.captureSubmit('j_idt30',false);ice.captureKeypress('j_idt30',null);</script><ul class="mobi-list ui-listview " id="j_idt30:j_idt31" style=""><li class="mobi-list-item mobi-list-item-group ui-li ui-li-divider " id="j_idt30:j_idt32"><div class="mobi-list-item-default ">Layout and Navigation</div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt34:0:j_idt35"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt34:0:_t36" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
,'');return false">Accordion</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt34:1:j_idt35"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt34:1:_t36" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt34:1:_t36':'j_idt30:j_idt34:1:_t36','panelID':'carousel','beanName':'carouselBean'},'');return false">Carousel</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt34:2:j_idt35"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt34:2:_t36" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt34:2:_t36':'j_idt30:j_idt34:2:_t36','panelID':'contentstack','beanName':'contentStackBean'},'');return false">Content Stack</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt34:3:j_idt35"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt34:3:_t36" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt34:3:_t36':'j_idt30:j_idt34:3:_t36','panelID':'dataview','beanName':'dataViewBean'},'');return false">Data View</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt34:4:j_idt35"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt34:4:_t36" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt34:4:_t36':'j_idt30:j_idt34:4:_t36','panelID':'theme','beanName':'skinBean'},'');return false">Device Themes</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt34:5:j_idt35"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt34:5:_t36" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt34:5:_t36':'j_idt30:j_idt34:5:_t36','panelID':'fieldset','beanName':'fieldsetBean'},'')
[4.6048 09:28:34.371s]
;return false">Fieldset</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt34:6:j_idt35"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt34:6:_t36" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
,'');return false">Lists</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt34:7:j_idt35"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt34:7:_t36" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt34:7:_t36':'j_idt30:j_idt34:7:_t36','panelID':'panelconfirmation','beanName':'panelConfirmationBean'},'');return false">Confirmation Panel</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt34:8:j_idt35"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt34:8:_t36" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt34:8:_t36':'j_idt30:j_idt34:8:_t36','panelID':'panelpopup','beanName':'panelPopupBean'},'');return false">Popup Panel</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt34:9:j_idt35"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt34:9:_t36" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt34:9:_t36':'j_idt30:j_idt34:9:_t36','panelID':'tabset','beanName':'tabsetBean'},'');return false">Tabset</a></div></li><li class="mobi-list-item mobi-list-item-group ui-li ui-li-divider " id="j_idt30:j_idt39"><div class="mobi-list-item-default ">Input and Selection</div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt41:0:j_idt42"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt41:0:_t43" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt41:0:_t43':'j_idt30:j_idt41:0:_t43','panelID':'button','beanName':'buttonBean','redirect':'false'},'');return false">Buttons</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt41:1:j_idt42"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt41:1:_t43" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt41:1:_t43':'j_idt30:j_idt41:1:_t43','panelID':'date','beanName':'dateBean','redirect':'false'},'');return false">Date and Time</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt41:2:j_idt42"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt41:2:_t43" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt41:2:_t43':'j_idt30:j_idt41:2:_t43','panelID':'flipswitch','beanName':'flipSwitchBean','redirect':'false'},'');return false">Flip Switch</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt41:3:j_idt42"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt41:3:_t43" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt41:3:_t43':'j_idt30:j_idt41:3:_t43','panelID':'geolocation','beanName':'geoLocationBean','redirect':'false'},'');return false">Geolocation</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt41:4:j_idt42"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt41:4:_t43" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt41:4:_t43':'j_idt30:j_idt41:4:_t43','panelID':'gmap','beanName':'gMapBean','redirect':'true'},'');return false">Google Map</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt41:5:j_idt42"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt41:5:_t43" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt41:5:_t43':'j_idt30:j_idt41:5:_t43','panelID':'input','beanName':'inputBean','redirect':'false'},'');return false">HTML5 Input</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt41:6:j_idt42"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt41:6:_t43" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt41:6:_t43':'j_idt30:j_idt41:6:_t43','panelID':'menubutton','beanName':'menuButton','redirect':'false'},'');return false">Menu Button</
[4.7705 09:28:34.537s]
a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt41:7:j_idt42"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt41:7:_t43" onclick="mojarra.jsfcljs(document.getElementById
2000
('j_idt30'),
,'');return false">Submit Notification</a></div></li><li class="mobi-list-item mobi-list-item-group ui-li ui-li-divider " id="j_idt30:j_idt47"><div class="mobi-list-item-default ">Media Components</div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt49:0:j_idt50"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt49:0:_t51" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt49:0:_t51':'j_idt30:j_idt49:0:_t51','panelID':'audio','beanName':'audioBean'},'');return false">Audio</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt49:1:j_idt50"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt49:1:_t51" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt49:1:_t51':'j_idt30:j_idt49:1:_t51','panelID':'image','beanName':'imageBean'},'');return false">Image</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt49:2:j_idt50"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt49:2:_t51" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt49:2:_t51':'j_idt30:j_idt49:2:_t51','panelID':'video','beanName':'videoBean'},'');return false">Video</a></div></li><li class="mobi-list-item mobi-list-item-group ui-li ui-li-divider " id="j_idt30:j_idt54"><div class="mobi-list-item-default ">Native Components</div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt56:0:j_idt57"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt56:0:_t58" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt56:0:_t58':'j_idt30:j_idt56:0:_t58','panelID':'reality','beanName':'realityBean'},'');return false">Augmented Reality</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt56:1:j_idt57"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt56:1:_t58" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt56:1:_t58':'j_idt30:j_idt56:1:_t58','panelID':'camcorder','beanName':'camcorderBean'},'');return false">Camcorder</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt56:2:j_idt57"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt56:2:_t58" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt56:2:_t58':'j_idt30:j_idt56:2:_t58','panelID':'camera','beanName':'cameraBean'},'');return false">Camera</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt56:3:j_idt57"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt56:3:_t58" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt56:3:_t58':'j_idt30:j_idt56:3:_t58','panelID':'notification','beanName':'notificationBean'},'');return false">Cloud Push</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt56:4:j_idt57"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt56:4:_t58" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt56:4:_t58':'j_idt30:j_idt56:4:_t58','panelID':'contacts','beanName':'contactsBean'},'');return false">Contact List</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt56:5:j_idt57"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt56:5:_t58" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt56:5:_t58':'j_idt30:j_idt56:5:_t58','panelID':'microphone','beanName':'microphoneBean'},'');return false">Microphone</a></div></li><li class="mobi-list-item ui-li " id="j_idt30:j_idt56:6:j_idt57"><div class="mobi-list-item-default "><a href="#" id="j_idt30:j_idt56:6:_t58" onclick="mojarra.jsfcljs(document.getElementById('j_idt30'),
{'j_idt30:j_idt56:6:_t58':'j_idt30:j_idt56:6:_t58','panelID':'qrcode','beanName':'qrCodeBean'},''
[5.4636 09:28:35.230s]
);return false">QR Code</a></div></li></ul>
</form></div></div><div id="camcorder_wrp"><div class="mobi-contentpane-hidden " id="camcorder"></div></div><div id="camera_wrp"><div class="mobi-contentpane-hidden " id="camera"></div></div><div id="microphone_wrp"><div class="mobi-contentpane-hidden " id="microphone"></div></div><div id="notification_wrp"><div class="mobi-contentpane-hidden " id="notification"></div></div><div id="qrcode_wrp"><div class="mobi-contentpane-hidden " id="qrcode"></div></div><div id="reality_wrp"><div class="mobi-contentpane-hidden " id="reality"></div></div><div id="contacts_wrp"><div class="mobi-contentpane-hidden " id="contacts"></div></div><div id="button_wrp"><div class="mobi-contentpane-hidden " id="button"></div></div><div id="date_wrp"><div class="mobi-contentpane-hidden " id="date"></div></div><div id="flipswitch_wrp"><div class="mobi-contentpane-hidden " id="flipswitch"></div></div><div id="geolocation_wrp"><div class="mobi-contentpane-hidden " id="geolocation"></div></div><div id="gmap_wrp"><div class="mobi-contentpane-hidden " id="gmap"></div></div><div id="input_wrp"><div class="mobi-contentpane-hidden " id="input"></div></div><div id="menubutton_wrp"><div class="mobi-contentpane-hidden " id="menubutton"></div></div><div id="submitnotification_wrp"><div class="mobi-contentpane-hidden " id="submitnotification"></div></div><div id="carousel_wrp"><div class="mobi-contentpane-hidden " id="carousel"></div></div><div id="contentstack_wrp"><div class="mobi-contentpane-hidden " id="contentstack"></div></div><div id="dataview_wrp"><div class="mobi-contentpane-hidden " id="dataview"></div></div><div id="tabset_wrp"><div class="mobi-contentpane-hidden " id="tabset"></div></div><div id="accordion_wrp"><div class="mobi-contentpane-hidden " id="accordion"></div></div><div id="fieldset_wrp"><div class="mobi-contentpane-hidden " id="fieldset"></div></div><div id="list_wrp"><div class="mobi-contentpane-hidden " id="list"></div></div><div id="panelconfirmation_wrp"><div class="mobi-contentpane-hidden " id="panelconfirmation"></div></div><div id="panelpopup_wrp"><div class="mobi-contentpane-hidden " id="panelpopup"></div></div><div id="theme_wrp"><div class="mobi-contentpane-hidden " id="theme"></div></div><div id="dataTable_wrp"><div class="mobi-contentpane-hidden " id="dataTable"></div></div><div id="dataList_wrp"><div class="mobi-contentpane-hidden " id="dataList"></div></div><div id="audio_wrp"><div class="mobi-contentpane-hidden " id="audio"></div></div><div id="image_wrp"><div class="mobi-contentpane-hidden " id="image"></div></div><div id="video_wrp"><div class="mobi-contentpane-hidden " id="video"></div></div><span><input id="contentStack_hidden" name="contentStack_hidden" type="hidden" /></span></div></div><div class="mobi-pagePanel-footer ui-footer ui-footer-fixed ui-bar-a" id="j_idt11_pgPnlFtr"><div class="mobi-pagePanel-ctr">
<form action="/mobileshowcase/showcase.jsf" class="theme" enctype="application/x-www-form-urlencoded" id="j_idt97" method="post" name="j_idt97">
<input name="j_idt97" type="hidden" value="j_idt97" />
<input name="ice.window" type="hidden" value="q4hfy5aa77" /><input name="ice.view" type="hidden" value="v6f176" /><script id="j_idt97:j_idt97_captureSubmit" type="text/javascript">ice.captureSubmit('j_idt97',false);ice.captureKeypress('j_idt97',null);</script>
<span style="font-size:14px;font-weight:bold;">
<i class="icon-eye-open" style="padding:3px"></i>
Theme:
</span><select id="j_idt97:_t100" name="j_idt97:_t100" onchange="jsf.util.chain(this,event,'ice.s(event, this);')" size="1" style="font-size:13px;"> <option value="" selected="true">Auto</option>
<option value="iphone">iPhone</option>
<option value="android_light">Android Light</option>
<option value="android_dark">Android Dark</option>
<option value="bberry">BlackBerry</option>
<option value="bb10">BlackBerry 10</option>
</select><input disabled="true" id="j_idt97:ajaxDisabled" type="hidden" value
[5.5526 09:28:35.319s]
=" j_idt97:_t100 " />
</form>
<a class="icon" href="http://www.icemobile.org/demos.html"><img src="/mobileshowcase/javax.faces.resource/icemobile_thumb.png.jsf?ln=images&v=3_3_0_130415" /
b9a
>
</a></div></div></div>
<script type="text/javascript">
//precache commonly used images
var preloaded = new Array();
preloaded[0] = document.createElement('img');
preloaded[0].setAttribute('src','./resources/images/auction/icebreaker.png');
preloaded[1] = document.createElement('img');
preloaded[1].setAttribute('src','./resources/images/auction/icecar.png');
preloaded[2] = document.createElement('img');
preloaded[2].setAttribute('src','./resources/images/auction/icesailor.png');
preloaded[3] = document.createElement('img');
preloaded[3].setAttribute('src','./resources/images/auction/iceskate.png');
</script>
<form action="/mobileshowcase/showcase.jsf" id="v6f176-retrieve-update" method="post" name="v6f176-retrieve-update">
<input name="v6f176-retrieve-update" type="hidden" value="v6f176-retrieve-update" />
<input name="ice.window" type="hidden" value="q4hfy5aa77" /><input name="ice.view" type="hidden" value="v6f176" /><script id="v6f176-retrieve-update:v6f176-retrieve-update_captureSubmit" type="text/javascript">ice.captureSubmit('v6f176-retrieve-update',false);ice.captureKeypress('v6f176-retrieve-update',null);</script>
</form>
<form action="/mobileshowcase/showcase.jsf" id="v6f176-single-submit" method="post" name="v6f176-single-submit">
<input name="v6f176-single-submit" type="hidden" value="v6f176-single-submit" />
<input name="ice.window" type="hidden" value="q4hfy5aa77" /><input name="ice.view" type="hidden" value="v6f176" /><script id="v6f176-single-submit:v6f176-single-submit_captureSubmit" type="text/javascript">ice.captureSubmit('v6f176-single-submit',false);ice.captureKeypress('v6f176-single-submit',null);</script>
</form><span id="dynamic-code"></span><span id="v6f176_icefaces_config"><script>ice.setupBridge('v6f176_icefaces_config', 'v6f176', 'q4hfy5aa77',
);</script></span><span id="v6f176_icepush"><script type="text/javascript">ice.push.configuration.contextPath="/mobileshowcase";ice.push.configuration.blockingConnectionURI="/mobileshowcase/javax.faces.resource/listen.icepush.xml.jsf";ice.push.configuration.createPushIdURI="/mobileshowcase/javax.faces.resource/create-push-id.icepush.txt.jsf";ice.push.configuration.notifyURI="/mobileshowcase/javax.faces.resource/notify.icepush.txt.jsf";ice.push.configuration.addGroupMemberURI="/mobileshowcase/javax.faces.resource/add-group-member.icepush.txt.jsf";ice.push.configuration.removeGroupMemberURI="/mobileshowcase/javax.faces.resource/remove-group-member.icepush.txt.jsf";</script></span></body>]]></update><update id="javax.faces.ViewState"><![CDATA[2323980555501366476:-8812950396829979406]]></update></changes></partial-response>
0
From an Android tablet, I see the following response from the same location.
<?xml version='1.0' encoding='UTF-8'?>
<partial-response><changes><update id="toolbar">
<![CDATA[<form action="/mobileshowcase/showcase.jsf" enctype="application/x-www-form-urlencoded" id="toolbar" method="post" name="toolbar">
<input name="toolbar" type="hidden" value="toolbar" />
<input name="ice.window" type="hidden" value="q4hfy5fisv" /><input name="ice.view" type="hidden" value="v6f179" /><script id="toolbar_captureSubmit" type="text/javascript">ice.captureSubmit('toolbar',false);ice.captureKeypress('toolbar',null);</script><a href="#" id="_t113" onclick="mojarra.jsfcljs(document.getElementById('toolbar'),
,'');return false" style="position: absolute;left: 0.5em;top: 3px;"><img src="/mobileshowcase/javax.faces.resource/icemobile_thumb.png.jsf?ln=images&v=3_3_0_130415" /></a>
<span>Menu Button</span>
.
.
. the rest of the response is the same as above.
The component.js change has been propagated to both the ios JavaScript and the Android JavaScript.
The JSF ajax context object now appears to be using an "element" attribute. This was added.