thrownewIllegalStateException("Looked up code "+code+" and got EventUser "+eventUser.getId()+" from event "+eventId+" which is not the current event "+currentEventId);
<h:commandButtonaction="#{testView.resetMenu()}"value="Reset to newui menu"onclick="return confirm('THIS WILL RESET ALL MODIFICATIONS TO DEFAULT MENU!!\n Are you really sure?!');"/>
<h:commandButtonaction="#{testView.resetOldMenu()}"value="Reset to old menu"onclick="return confirm('THIS WILL RESET ALL MODIFICATIONS TO DEFAULT MENU!!\n Are you really sure?!');"/>