if you are extending a type that already has a Body property,
you may be seeing that one as well.



On 21 July 2011 11:38, 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




-- 

*AJ Mercer*
<webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
community="Open" /> <http://webonix.org>
http://twitter.com/webonix
Railo Community Manager <http://www.getrailo.org/index.cfm/community/team/>

-- 
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

Reply via email to