3 Replies Latest reply on Oct 27, 2008 5:13 AM by Ilya Shaikovsky

    How to enable form field on click using ajax4jsf or rich fac

    Val Sw Expert

      Hi,

      I have form field (h:inputText) which is disabled when the page loads.

      Is there nice way just to enable h:inputText when user clicks "Edit This" link(it can be button also).

      I don't want to use Javascript.........

      <s:link value="Edit This" id="edit">

      <s:decorate template="layout/edit.xhtml">
      <h:inputText id="name" required="true" value="Test enable" disabled="true"/>
      </s:decorate>