コード例 #1
0
 public PageOutcome getRedirectWithViewParams(String action) {
   PageOutcome outcome = getRedirectWithViewParams();
   if (StringUtils.isNotEmpty(action))
     outcome = outcome.addParam("action", encodeActionParam(action));
   return outcome;
 }
コード例 #2
0
 public PageOutcome getRedirect() {
   PageOutcome outcome = getOutcome();
   outcome = outcome.addParamWithValue("faces-redirect=true");
   return outcome;
 }
コード例 #3
0
 public PageOutcome getRedirectWithViewParams() {
   PageOutcome outcome = getRedirect();
   outcome = outcome.addParamWithValue("includeViewParams=true");
   return outcome;
 }
コード例 #4
0
 public PageOutcome getOutcome(String action) {
   PageOutcome outcome = getOutcome();
   if (StringUtils.isNotEmpty(action))
     outcome = outcome.addParam("action", encodeActionParam(action));
   return outcome;
 }