5 Replies Latest reply on Apr 26, 2010 8:36 PM by shravan kodam

    How do I get the value from the JSF UIComponent?

    Brian Abston Newbie
      I am really struggling trying to get the value from inputSecret JSF component. I am injecting the UIComponent. Once I call get() and get the component how do I get the value of it? This is an inputSecret component.

      @In
      private Map<String, UIComponent> uiComponent;


      //Change listener to make sure passwords match
      public void verifyPasswordMatches(ValueChangeEvent e) {
        verifyPassword = (String) e.getNewValue();
        UIComponent password = uiComponent.get("registration:passwordField:password");
        //How do I get the value?
        //Business logic
      }