Author view not updating
Posted: Tue May 10, 2011 10:41 pm
Hi,
I have an AuthorOperation which updates the XML document. That works correctly, but after the update, the Author view doesn't show the change unless some text is edited in the Text view. The change not showing up is displayed as CSS read-only, ie
content : " WAC " xpath("../../Heading/SectionCite/TitleNumber/text()") "-" xpath("../../Heading/SectionCite/ChapterNumber/text()") "-" xpath("../../Heading/SectionCite/SectionNumber/text()") " " xpath("../../Heading/Caption/text()") " ";
Here is a snippet of the code which inserts the XML in AuthorOperation:
if (displayDialog(oxygenFrame)) {
docController.deleteNode((AuthorNode) heading);
docController.insertXMLFragmentSchemaAware(getHeadingFragment(map),"ancestor::OTSSection/Section",
AuthorConstants.POSITION_INSIDE_FIRST);
}
Any idea on how to make the Author view update?
I have an AuthorOperation which updates the XML document. That works correctly, but after the update, the Author view doesn't show the change unless some text is edited in the Text view. The change not showing up is displayed as CSS read-only, ie
content : " WAC " xpath("../../Heading/SectionCite/TitleNumber/text()") "-" xpath("../../Heading/SectionCite/ChapterNumber/text()") "-" xpath("../../Heading/SectionCite/SectionNumber/text()") " " xpath("../../Heading/Caption/text()") " ";
Here is a snippet of the code which inserts the XML in AuthorOperation:
if (displayDialog(oxygenFrame)) {
docController.deleteNode((AuthorNode) heading);
docController.insertXMLFragmentSchemaAware(getHeadingFragment(map),"ancestor::OTSSection/Section",
AuthorConstants.POSITION_INSIDE_FIRST);
}
Any idea on how to make the Author view update?