Trying to understand immediate=“true” skipping inputs when it shouldn't
问题 Just when I thought I had understood immediate... *sigh* Consider the following JSF page: <h:inputText value=\"#{testBean.text}\" required=\"true\" /> <h:commandButton actionListener=\"#{testBean.doFoo}\" value=\"Do Foo\" /> <h:commandButton immediate=\"true\" actionListener=\"#{testBean.doBar}\" value=\"Do Bar\" /><br /> <h:outputText value=\"#{testBean.didSomething}\" /> And this backing bean: public class TestBean { private String didSomething = \"Nothing done yet\"; // + getter public