2009-10-29 7 views
0
public void pageValidate(PageEvent event) { 
     //how to use pageEvent to sendRedirect to google.com ? 

Répondre

1

Pour un site externe, utilisez:

throw new RedirectException("http://google.com") 

Pour rediriger vers une page withing l'utilisation de l'application:

throw new PageRedirectException("page");