CodeMirror is fully updateable via AJAX as you can see with the select one menu options below. ${showcase:getFileContent('/sections/codeMirror/example-basicUsage.xhtml')} ${showcase:getFileContent('/org/primefaces/extensions/showcase/controller/CodeMirrorController.java')}