I have a CKEditor in my page. Like this
Facelet Title
function comeBack(){
document.getElementById(editorValue).value = this.value;
}
CKEDITOR.replace( 'editor1' );
@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
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?
Thanks
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)