title: How to display an inputText when specific selectOneMenu option is selected?
body: <p>I want to create settings panel for application. The application will store the settings values into database table. The settings panel will be used to display the settings and change the values. I want to represent the values in this way:</p>
  
  <p><img src="https://i.stack.imgur.com/9u49h.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/dmjyr.png" alt="enter image description here"></p>
  
  <p>This way the user will be able to enter only fixed values. I want to give a change to the user to enter custom values. Like this:</p>
  
  <p><img src="https://i.stack.imgur.com/efNlJ.png" alt="enter image description here"></p>
  
  <p>I want to create <code>selectOneMenu</code> with option <code>custom</code>. When the user selects <code>custom</code> the <code>selectOneMenu</code> will be replaced with <code>inputText</code> field where he will be able to enter the custom value. <code>SAVE</code> button will save the data into database. Is this possible without page reload? Maybe with AJAX?</p>
  
  <p>How this can be implemented?</p>