Ajax is a partial page update. If you go to the next page, it is whole page update, but not a partial one. So, the question "How i can use ajax for goto next page?" just sounds weird.
If you only need to use a navigation, use h:commandButton.
What is the reason you want to use Ajax button?
Thx,got it. I use facelets. have to do with menu - static region, page header -static region and body - dynamically region. I want when click menu item update only body region. May be you can help me with it?
you may use ui:include with EL binding to dynamic path property. So you'll be able to change the path and reRender included part of the page
Thanks for all