CKEditor doesn't take effect after partial refresh of Oracle
<af:panelGroupLayout layout="scroll"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
[b] binding="#{pageFlowScope.entriesUI}" [/b]
id="pgl2" inlineStyle="width:100%; border-color:White;">
... ...
<f:verbatim>
<textarea id="EditorDefault" name="EditorDefault" rows="10"
style="width:100%;" cols="2">"test"</textarea>
<script type="text/javascript">
var editor = CKEDITOR.replace( 'EditorDefault',{
height:150,resize_enabled:false,
toolbar : ['TextColor','BGColor'],
toolbarCanCollapse : false}
)
</f:verbatim>
</af:panelGroupLayout>
//the component is java object bind with af:panelGroupLayout [b] binding="#{pageFlowScope.entriesUI}" [/b]
if (component != null) {
AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
adfFacesContext.addPartialTarget(component);
}