Reputation: 35689
public void pageValidate(PageEvent event) {
//how to use pageEvent to sendRedirect to google.com ?
Upvotes: 0
Views: 401
Reputation: 13724
For an external site, use:
throw new RedirectException("http://google.com")
To redirect to a page withing the application use:
throw new PageRedirectException("page");
Upvotes: 1