title: How to send data to server from html component in JSF
body: <p>I have a CKEditor in my page. Like this</p>
  
  <pre><code>&lt;h:head&gt;
      &lt;title&gt;Facelet Title&lt;/title&gt;
      &lt;script type="text/javascript" src="ckeditor/ckeditor.js"&gt;&lt;/script&gt;
  
      &lt;script language="JavaScript"&gt;
  
          function comeBack(){
              document.getElementById(editorValue).value = this.value;
          }
  
      &lt;/script&gt;
  
  &lt;/h:head&gt;
  
  &lt;h:body &gt;
  
      &lt;h:form id="ckEditorForm" prependId="false" &gt;
  
          &lt;textarea id="editor1"
                    name="editor1"
                    onblur="alert(document.getElementById(editorValue).value = this.value);"&gt;
  
          &lt;/textarea&gt;
  
          &lt;script type="text/javascript"&gt;
              CKEDITOR.replace( 'editor1' );
          &lt;/script&gt;
  
          &lt;h:inputHidden value="#{editorBean.value}" id="editorValue" /&gt;
  
          &lt;h:commandButton id="submit"
                           value="Submit"
                           action="welcome.xhtml" /&gt;
  
  
      &lt;/h:form&gt;
  
  &lt;/h:body&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>@ManagedBean
  @ViewScoped
  public class EditorBean {
  
      private String value;
  
      /** Creates a new instance of EditorBean */
      public EditorBean() {
  
      } //end of constructor
  
      public String getValue() {
          return value;
      }
  
      public void setValue(String value) {
          this.value = value;
          System.out.println("Content: "+value);
          System.out.println();
  
      }
  
  } //end of class EditorBean
  </code></pre>
  
  <p>Now i want that user press the submit button then the editor  value is save into my bean. I found this hiddenfield technique suggested by some one on this forum , but it is not working. Am i doing something wrong? How can i achieve what i want?</p>
  
  <p>Thanks</p>