Example for a state machine within a JSF application which performs as a survey tool