The way you would do this is to have ftEditMethod = "yourCustomMethod" in the property. yourCustomMethod would NOT be named ftEditPropertyName.
Then you could say ftEditMethod = "" in metadata elsewhere to avoid using that custom UI. Blair On Wed, May 27, 2009 at 4:34 PM, AJ Mercer <[email protected]> wrote: > ok, for those playing at home, this is what is needed > <cfset stFilterMetaData.username.ftEditMethod = "ftEditUsername_filter" > /> > > (this is the second time I have been caught out with this - sorry Blair, > next time I will pay more attention) > > What would be nice though, is if you could just do the following > <cfset stFilterMetaData.username.ftEditMethod = "" /> > which would then just use FormTool default edit for that type (eg field) > So then you don't have to create a function that just does a default edit > > > > > 2009/5/27 AJ Mercer <[email protected]> > >> update: >> >> <cfset stFilterMetaData.username.ftValidation = "" /> >> >> The field title is no longer bold, but the following message is still >> appearing >> This is a required field. >> >> >> >> >> 2009/5/27 AJ Mercer <[email protected]> >> >>> I have aded the following to try and override everything >>> >>> <cfset stFilterMetaData = StructNew() /> >>> <cfset stFilterMetaData.username.ftValidation = "" /> >>> <cfset stFilterMetaData.username.ftAjaxUsername ="" /> >>> <cfset stFilterMetaData.username.ftEditUsername ="" /> >>> >>> But that did not help >>> >>> 2009/5/27 AJ Mercer <[email protected]> >>> >>> They both have filter options >>>> >>>> I think it may have to do with the custom edit and/or / ajax stuff I >>>> have in my component. >>>> >>>> What is really confusing me is that it works in Firefox for both >>>> But only one working in IE >>>> >>>> 2009/5/27 Blair McKenzie <[email protected]> >>>> >>>> The set link is for filtering the output. Does one of the admin's not >>>>> have filter options? >>>>> >>>>> Blair >>>>> >>>>> >>>>> On Wed, May 27, 2009 at 2:14 PM, AJ Mercer <[email protected]> wrote: >>>>> >>>>>> I have two custom types each with it's own admin page which uses >>>>>> formtools >>>>>> >>>>>> In IE, one comes up stright away with the table header and data. >>>>>> The other, I have to click the set link and then it does some >>>>>> animation to some the table. >>>>>> >>>>>> In Firefox, both display straight away >>>>>> >>>>>> Any clues what I should be looking at? >>>>>> >>>>>> >>>>>> >>>>>> <cfimport taglib="/farcry/core/tags/formtools" prefix="ft" /> >>>>>> <cfimport taglib="/farcry/core/tags/admin/" prefix="admin" /> >>>>>> >>>>>> <!--- Override the client side validation for the filter fields. ---> >>>>>> <cfset stFilterMetaData = StructNew() /> >>>>>> <cfset stFilterMetaData.username.ftValidation = "" /> >>>>>> >>>>>> >>>>>> <!--- set up page header ---> >>>>>> <admin:header title="Client" /> >>>>>> >>>>>> <ft:objectAdmin >>>>>> title="Client" >>>>>> typename="pslClient" >>>>>> >>>>>> ColumnList="label,username,associatedMaster,primaryaccount,createdby,datetimelastupdated" >>>>>> SortableColumns="username,associatedMaster,primaryaccount" >>>>>> plugin="pslClient" >>>>>> lFilterFields="username,associatedMaster,primaryaccount" >>>>>> stFilterMetaData="#stFilterMetaData#" >>>>>> sqlorderby="username" >>>>>> /> >>>>>> >>>>>> <admin:footer /> >>>>>> >>>>>> -- >>>>>> AJ Mercer >>>>>> Web Log: http://webonix.net >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> AJ Mercer >>>> Web Log: http://webonix.net >>>> >>> >>> >>> >>> -- >>> AJ Mercer >>> Web Log: http://webonix.net >>> >> >> >> >> -- >> AJ Mercer >> Web Log: http://webonix.net >> > > > > -- > AJ Mercer > Web Log: http://webonix.net > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
