title: how to initialize jsf 2.0 textfield on runtime?
body: <p>I would like to initialize my textfield at runtime. For example, I have primefaces inputtext like this:</p>
  
  <pre><code>&lt;p:inputText value="#{myBean.value}" id="inputText" /&gt;
  </code></pre>
  
  <p>And a bean class:</p>
  
  <pre><code>@PostConstruct
  public void onPageLoad() {
      ....
      ....
      inputText.setMaxlength(15);
      inputText.setStyle(".....");
  }
  </code></pre>
  
  <p>Is it possible to do this with jsf 2.0?</p>