ckeditor not honoring AJAX

Community Driven Extensions Project
Post Reply
CodesNChaos
Posts: 14
Joined: 22 Jun 2012, 21:03

03 Jul 2012, 21:00

I'm using the ckeditor inside of a p:panelGrid->p:row->p:column which looks like this:

Code: Select all

  <pe:ckEditor id="orgProfile" value="#{projectWiz.sponsor.profile}" checkDirtyInterval="0"
    toolbar="[['Bold','Italic','Underline', '-', 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote', 'Link', '-', 'Source']]"
    readOnly="#{projectWiz.sponsorFound}" width="560">
    <p:ajax event="dirty" listener="#{projectWiz.profileEdited}" update="profileLabel"/>
    <p:ajax event="change" listener="#{projectWiz.profileEdited}" update="profileLabel"/>
  </pe:ckEditor>
I also have a command button:

Code: Select all

  <h:commandButton value="Next" id="toStep6" actionListener="#{projectWiz.incrementIndex()}">
    <f:ajax render="@form" execute="@form"/>
  </h:commandButton>
When I click on the command button, I can see the browser refreshing the page. If I take the ckEditor out, AJAX is once again working. Any workarounds for this? I need this to be AJAX.

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

09 Jul 2012, 20:16

If you provide an sample maven app, i could check it. Otherwise, no idea. sorry.
Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests