1 16 package org.apache.myfaces.config; 17 18 import javax.faces.application.NavigationHandler; 19 import javax.faces.context.FacesContext; 20 21 22 25 public class TestNavigationHandler extends NavigationHandler 26 { 27 28 private NavigationHandler delegate; 29 30 public TestNavigationHandler() 31 { 32 } 33 34 35 public TestNavigationHandler(NavigationHandler delegate) 36 { 37 this.delegate = delegate; 38 } 39 40 41 public void handleNavigation(FacesContext context, String fromAction, String outcome) 42 { 43 delegate.handleNavigation(context, fromAction, outcome); 44 } 45 46 47 public NavigationHandler getDelegate() 48 { 49 return delegate; 50 } 51 } 52 | Popular Tags |