Package org.primefaces.component.inputtext

Examples of org.primefaces.component.inputtext.InputText


public class InputTextRenderer extends org.primefaces.component.inputtext.InputTextRenderer {

    @Override
  public void decode(FacesContext context, UIComponent component) {
    InputText inputText = (InputText) component;
        if(inputText.isDisabled() || inputText.isReadonly()) {
            return;
        }
       
        decodeBehaviors(context, inputText);
       
        String inputId = inputText.getClientId(context) + "_input";
    String submittedValue = (String) context.getExternalContext().getRequestParameterMap().get(inputId);
        if(submittedValue != null) {
            inputText.setSubmittedValue(submittedValue);
        }
  }
View Full Code Here

TOP

Related Classes of org.primefaces.component.inputtext.InputText

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.