ckEditor + tabView issue
Posted: 03 Dec 2012, 10:29
Hi
I am using p:tabView with ckEditor instance on each tab.
When I am switching between tabs the editor content is copied to my backing bean.
However after I press submit button the empty string is copied to backing bean for all tabs,
If I replace ckEditor with p:editor everything foes fine.
Please suggest.
<p:tabView var="subStory" value="#{story.subStories}"
dynamic="true" titleStyleClass="active-tab">
<p:tab title="#{linkController.getSubStoryTitle(subStory)}"
titleStyleClass="active-tab">
<pe:ckEditor value="#{subStory.text}" checkDirtyInterval="0"
language="#{userLocale.locale}" width="750px" height="500px" />
</p:tab>
</p:tabView>
<h:commandButton action="save" value="#{msg['buttons.save']}" />
PrimeFaces 3.4.1 + Primefaces extensions 0.6.1
I am using p:tabView with ckEditor instance on each tab.
When I am switching between tabs the editor content is copied to my backing bean.
However after I press submit button the empty string is copied to backing bean for all tabs,
If I replace ckEditor with p:editor everything foes fine.
Please suggest.
<p:tabView var="subStory" value="#{story.subStories}"
dynamic="true" titleStyleClass="active-tab">
<p:tab title="#{linkController.getSubStoryTitle(subStory)}"
titleStyleClass="active-tab">
<pe:ckEditor value="#{subStory.text}" checkDirtyInterval="0"
language="#{userLocale.locale}" width="750px" height="500px" />
</p:tab>
</p:tabView>
<h:commandButton action="save" value="#{msg['buttons.save']}" />
PrimeFaces 3.4.1 + Primefaces extensions 0.6.1