Im trying to get the value from the inputText by using dateInputTxt.getValue, but it return me null value.
i have the following code in
jsf:
<h:inputText value="myBean.dateS" id="sdate" binding="myBean.dateInputTxt">
managed bean:
private HtmlInputText dateInputTxt;
dateInputTxt.getValue(). //this return me a null value.
i have tried with hidden text field, and Im able to get the value by using dateInputTxt.getValue().
Why is it that the method .getValue works for hidden field and not text field?
-thanks.