. I have tried different ways of solving this, pm:pageName in backing bean, PrimeFaces.navigate('#viewName', {reverse : 'true'})", but no success. I always get the same error. How can i make this work? My faces-config content isUncaught Error: cannot call methods on pagecontainer prior to initialization; attempted to call method 'change'
Code: Select all
<application>
<navigation-handler>org.primefaces.mobile.application.MobileNavigationHandler</navigation-handler>
<default-render-kit-id>PRIMEFACES_MOBILE</default-render-kit-id>
</application>
Code: Select all
<p:commandButton action="#{auctionBean.goToContactPage()}"
value="#{auction.active ? 'Contact' : 'Completed'}" disabled="#{!auction.active}"
style="font-size:14px;margin-top: 5px;width:100%;margin-bottom:5px;">