Blair, I'm seeing one label and 2 tinyMCE editors. Can you point me in the right direction to look for this? The output from richtext.cfc:edit() is only a single instance of the code.
Thanks! -Jake On Thu, Jul 21, 2011 at 5:13 AM, Blair McKenzie <[email protected]> wrote: > There's a small chance that there is a bug in the TinyMCE code doing this, > a quick look at the source will clear that up. By two editors do you mean > that the entire field (with the label) is shown twice, or just the TinyMCE > editor? The first would be a bug in either the ft:object tag or the type > metadata, the later would be formtool issue. > > Blair > > On Thu, Jul 21, 2011 at 1:38 PM, Jake Churchill <[email protected]>wrote: > >> I have something odd happening. I have a richtext property in a custom >> type and for some reason, in the admin I get 2 editors. Both show the same >> content. The DB only has a single field. Below is all the code. I've done >> all the usual updating app, clearing COAPI cache, etc. I've also restarted >> CF completely but no luck. Any ideas? >> >> CODE: >> >> <cfcomponent displayname="Message" hint="This is the core message in the >> forum" extends="farcry.core.packages.types.types"> >> <cfproperty ftSeq="10" ftFieldset="Message Details" name="title" >> type="nstring" hint="Title" required="no" default="" blabel="true" >> ftlabel="Title" /> >> <cfproperty ftSeq="11" ftFieldset="Message Details" name="body" >> type="longchar" default="" ftlabel="Message" ftType="richtext" hint="Message >> Text" /> >> <cfproperty ftSeq="20" ftFieldSet="Extended Details" type="UUID" >> name="parentID" hint="The parent message if applicable" required="no" >> default="" ftSelectMultiple="false" ftLabel="Parent" ftJoin="tfMessage" >> ftType="UUID" /> >> >> <!--- non form-tools properties ---> >> <cfproperty name="userID" type="UUID" hint="The userID of the user who >> created the message" required="no" default=""> >> <cfproperty name="username" type="string" hint="The name of the user >> who created the message" required="no" default=""> >> </cfcomponent> >> >> OBJECT ADMIN MODULE: >> >> <cfimport taglib="/farcry/core/tags/admin/" prefix="admin" /> >> <cfimport taglib="/farcry/core/tags/formtools" prefix="ft" /> >> >> <!--- Override the client side validation for the filter fields. ---> >> <cfset stFilterMetaData = structNew() /> >> <cfset stFilterMetaData.title.ftValidation = "" /> >> >> <!--- set up page header ---> >> <admin:header title="Message Admin" /> >> >> <ft:objectadmin >> typename="tfMessage" >> permissionset="event" >> title="#application.rb.getResource('messageAdministration', 'Message >> Administration')#" >> columnList="title,datetimelastUpdated" >> sortableColumns="title,userID,datetimelastUpdated" >> lFilterFields="title,userID" >> stFilterMetaData="#stFilterMetaData#" >> sqlorderby="title ASC" >> plugin="tfforum" >> module="/tfMessages.cfm" /> >> >> <admin:footer /> >> >> -- >> You received this message cos you are subscribed to "farcry-dev" Google >> group. >> To post, email: [email protected] >> To unsubscribe, email: [email protected] >> For more options: http://groups.google.com/group/farcry-dev >> -------------------------------- >> Follow us on Twitter: http://twitter.com/farcry >> > > -- > You received this message cos you are subscribed to "farcry-dev" Google > group. > To post, email: [email protected] > To unsubscribe, email: [email protected] > For more options: http://groups.google.com/group/farcry-dev > -------------------------------- > Follow us on Twitter: http://twitter.com/farcry > -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
