previous
|
start
|
next
Navigation Between Pages
Each button has an outcome, a string used to look up the next page
Generally, next page may depend on the result of some computation
We need different outcomes depending on the city entered
Specify a method binding as the action attribute:
<h:commandButton value="Submit" action="#{zone.addCity}"/>
A method binding consists of the name of a bean and the name of a method
previous
|
start
|
next