How to implement the select method so that the selectOne , selectTwo transitions selectOne selectTwo when the method is called?
xml:
<action-state id="selectAction"> <evaluate expression="userSelectHandler.select()" /> <transition on="selectOne" to="one" /> <transition on="selectTwo" to="two" /> </action-state> <view-state id="one" /> <view-state id="two" /> Java class:
@Component public class UserSelectHandler { public String select() { return null; } }