Question about multi-page mobile pages: Say I'm on jsfpage1.xhtml on pm:page id="pmpage2". And I would like to navigate to jsfpage2.xhtml and pm:page id="pmpage4". Is it possible? And if so, how do I formulate the outcome?
PrimeFaces 5.2 / JSF 2.2 Mojarra / GlassFish 4.1 / NetBeans 8.0.2 Patch 1
Navigating to specific pm:page on another JSF page
PrimeFaces 6.0 / JSF 2.2 Mojarra / GlassFish 4.1.1 / NetBeans 8.2
Code: Select all
<script type="text/javascript">
$(document).ready(function () {
var pageId = '#{theBean.activePage}';
PrimeFaces.Mobile.navigate(pageId, {reverse: false});
});
</script>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 30 guests