Code: Select all
<form>
<div class="card">
<pe:codeMirror id="codeMirror" mode="javascript" lineNumbers="true"
theme="eclipse" value="#{sessionBean.warpScript}"
matchBrackets="true" pollInterval="100" >
<p:ajax event="change" listener='#{sessionBean.fixMe()}' process="codeMirror"/>
<p:ajax event="blur" listener='#{sessionBean.fixMe()}' process="codeMirror"/>
</pe:codeMirror>
<p:commandButton value="Execute" action="#{sessionBean.runWarpScript()}"/>
</div>
</form>
In my browser, when I turn on debug, it says that the script has disabled console output:
"The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page."
So I can't gather much more information about any errors or anything at the javascript level.