You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by learn <se...@yahoo.com> on 2008/04/12 16:51:05 UTC

redirect page in pageValidate method

in my page validate method i use cycle to forward to another page.  I did
"debugging" and it show the code does run fine. but i dont get the resut that i
want. the page doesnt get redirected



	public void pageValidate(PageEvent event) {
              if(getUserExists()){
                     event.getRequestCycle().activate("HomeMember");
                  return;
                  
              }
              
              
                if(getDistUserExists()){
            
                    event.getRequestCycle().activate("HomeDist");
               
                  
                    
                    return;
                  
              }

}


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org