i using primefaces extensions need use ckeditor.
i getting form lockup after initial submit, , the drop down lists either being displayed incorrectly (about 1mm wide!) or not selectable.
the only new content have introduced primefaces extensions.
i see in chrome editor getting error below.
uncaught typeerror: cannot read property '1' of null primefacesext.getprimefacesextensionsversion primefacesext.getprimefacesextensionscompressedresource primefacesext.widget.ckeditor.primefaces.widget.basewidget.extend.init f.(anonymous function) primefaces.js.jsf?ln=primefaces:1 d primefaces.js.jsf?ln=primefaces:1 primefacesext.initwidget primefacesext.createwidget primefacesext.cw (anonymous function) bz b7.firewith bg.extend.ready
my pom entries below
<dependency> <groupid>org.primefaces.extensions</groupid> <artifactid>primefaces-extensions</artifactid> <version>0.7.1</version> </dependency> <dependency> <groupid>org.primefaces.extensions</groupid> <artifactid>resources-ckeditor</artifactid> <version>0.7.1</version> </dependency> <dependency> <groupid>org.primefaces.extensions</groupid> <artifactid>resources-codemirror</artifactid> <version>0.7.1</version> </dependency>
my namespace is:
xmlns:pe="http://primefaces.org/ui/extensions"
and ckeditor set below.
i have 3 of editors in page on different forms.
<pe:ckeditor id="emaileditor" value="#{customertasksbean.email.messagetext}" width="800" height="400" rendered="#{customertasksbean.emailactive}" widgetvar="emaileditorvar" toolbar="[['styles','textcolor', 'format','font', 'fontsize','-', 'cut','copy','paste', 'pastetext','pastefromword','-', 'spellchecker', 'scayt' , '-', 'numberedlist','bulletedlist', 'justifyleft','justifycenter','justifyright', 'justifyblock', '-', 'table']]"/>
the ckeditor working beautifully, there seems issue on initial persist of form breaks page unless refresh....
i not sure if javascript error linked issue, know have @ least got extensions set correctly.
i
Comments
Post a Comment