Hi,I am having an issue when loading a saved DCR: I have a replicant object that has ONE instance of a TinyMCE textarea per replicant. On creating a new DCT, ONE TinyMCE textarea is created which is fine, but, as mentioned above, when you save the new DCT and load the DCR again, the same TinyMCE textarea will apear twice per replicant instead of one per replicant. Here's my datacapture.cfg file:[html]*****Content************Type********************This identifies whether the content is a block or inline element. A block element is an encapsulated section of content such as a paragraph or table. An inline element is a snippet of content that resides within another element for example a meta attribute. If inline is selected, all paragraph and line break tags will be stripped from the content. Code is used as create/edit html source code.****************************************************************Key********************This identifies an element of content in the set. The key value must be a unique alphanumeric word (no spaces).********************************Description********************This is an optional description of the content. This field has no impact on the generated output.********************************Body********************This is the content field.*************************Code********Key********************This identifies an element of content in the set. The key value must be a unique alphanumeric word (no spaces).********************************Description********************This is an optional description of the content. This field has no impact on the generated output.************************************Code********************This is html code view field.*********************[/html]*What could be the problem? I'm thinking it has something to do with the XML mapping. I'm running TeamSite 6.7.1 SP1. Thanks in advance!
Hi,I am having an issue when loading a saved DCR: I have a replicant object that has ONE instance of a TinyMCE textarea per replicant. On creating a new DCT, ONE TinyMCE textarea is created which is fine, but, as mentioned above, when you save the new DCT and load the DCR again, the same TinyMCE textarea will apear twice per replicant instead of one per replicant. Here's my datacapture.cfg file:[html]<script language="javascript" location="template-type" src="content-validation.js" />ContentType This identifies whether the content is a block or inline element. A block element is an encapsulated section of content such as a paragraph or table. An inline element is a snippet of content that resides within another element for example a meta attribute. If inline is selected, all paragraph and line break tags will be stripped from the content. Code is used as create/edit html source code.Key This identifies an element of content in the set. The key value must be a unique alphanumeric word (no spaces).Description This is an optional description of the content. This field has no impact on the generated output.Body This is the content field. <br> external-editor="tinymce" <br> external-editor-config="jaguar"<br> external-editor-inline="f" <br> wrap="off"/><br> </item><br></container><br><br><container name="code" location="code" min="0" max="unbounded" default="0"><br> <label>Code</label><br> <item name="key" pathid="key"><br> <label>Key</label><br> <description><br> This identifies an element of content in the set. The key value must be a unique alphanumeric word (no spaces).<br> </description><br> <text required="t" maxlength="50" validation-regex="^\w+$" /><br> </item><br> <item name="description" pathid="description"><br> <label>Description</label><br> <description><br> This is an optional description of the content. This field has no impact on the generated output.<br> </description><br> <text required="f" maxlength="100" /><br> </item> <br> <item name="body" pathid="body"><br> <label>Code</label><br> <description><br> This is html code view field.<br> </description><br> <textarea required="t" rows="15" cols="90" maxlength="0" wrap="off"/><br> </item><br></container><br></root-container><br></ruleset><br></data-capture-requirements><br><br>[/html]<br><br>What could be the problem? I'm thinking it has something to do with the XML mapping. I'm running TeamSite 6.7.1 SP1. Thanks in advance!</TD></TR></TABLE></BLOCKQUOTE><br>Does this happen because the replicants are collapsed when you re-open the form? On expanding, do two editors get attached?<br>Does this happen because the replicants are collapsed when you re-open the form? On expanding, do two editors get attached?
I tried taking TinyMCE out and leaving just a plain textarea and it looks like the DCR generates fine. Also, when two TinyMCE editors are displayed, the top editor (first instance) allows you to edit the text, but when you save the changes aren't reflected, whereas the bottom TinyMCE (second instance) allows for changes and DOES reflect changes on save. So I'm thinking it has to be a TinyMCE issue. I'll look into contacting their dev team, in the mean time does anyone have experience with this issue, and/or know where in the core I can go to dig around to find a solution? Thanks.