public PageOutcome getRedirectWithViewParams(String action) { PageOutcome outcome = getRedirectWithViewParams(); if (StringUtils.isNotEmpty(action)) outcome = outcome.addParam("action", encodeActionParam(action)); return outcome; }
public PageOutcome getRedirect() { PageOutcome outcome = getOutcome(); outcome = outcome.addParamWithValue("faces-redirect=true"); return outcome; }
public PageOutcome getRedirectWithViewParams() { PageOutcome outcome = getRedirect(); outcome = outcome.addParamWithValue("includeViewParams=true"); return outcome; }
public PageOutcome getOutcome(String action) { PageOutcome outcome = getOutcome(); if (StringUtils.isNotEmpty(action)) outcome = outcome.addParam("action", encodeActionParam(action)); return outcome; }