Code: Select all
<h:form>
<p:commandButton value="new consign" actionListener="#{newConsign.newConsignPage}" style="margin-right:20px;" ajax="false" />
</h:form>
If I use the commandButton of JSF 2.0, it's all right. But I need using the commandButton of primefaces, it will not redirect to the new page.