This discussion is archived
3 Replies Latest reply: Jan 7, 2013 12:48 PM by benz RSS

value not getting in ValueListner

benz Newbie
Currently Being Moderated
I am new in ADF I am trying to show the Inputtext filed data in the message when it leave the field itm3. but it give me null value even though I entered the value but I work when I put the same code on the button on ActionListner.
Please tell me how can I access the value i have already created accessor for this inputtext item.
<af:inputText label="Trailer Number" id="it3"                            
    public String showMessage(String messageText) {
    FacesMessage val = new FacesMessage(messageText);
    FacesContext context = FacesContext.getCurrentInstance();
    context.addMessage(null, val);
    return null;
 public void fetch_data(ValueChangeEvent valueChangeEvent) {


  • Correct Answers - 10 points
  • Helpful Answers - 5 points