Im using mojarra 2.1.3, primefaces 3.2, netbeans 7.0.1.
When we navigate to the outcome xhtml in this ViewScoped managed bean method, is the outcome xhtml loaded via HTTP GET or HTTP POST?
public String saveAll() {
try {
processPrincipalDistributorDealers();
int res = saCompanyFacade.addCompany(sacompany, sacontacts, sacompanyproductallocations, saprincipaldistributordealers);
if (res == 0) {
return "/users/viewCompanies?faces-redirect=true";
} else {
.....
If this is POST I'd have problem with browser back button, if not then it's fine.
Please help. Thanks.