Hi AJ, Brilliant, Thank you very much. That's absolutely right! But in my situation. I wrote it like this below:
<cfset stFilterMetaData.confirmed.ftValidation = "" /> <cfset stFilterMetaData.confirmed.ftDefault = "" /> <cfset stFilterMetaData.confirmed.ftList = ":All,1:Yes,0:No" /> Cheers, 2010/1/18 AJ Mercer <[email protected]> > if I understand your issue correctly, try this > > > <!--- Override the client side validation for the filter fields. ---> > <cfset stFilterMetaData = StructNew() /> > > <cfset stFilterMetaData.confirmed.ftValidation = "" /> > <cfset stFilterMetaData.confirmed.ftDefault = "" /> > <cfset stFilterMetaData.confirmed.ftList = ":All,:Yes,yes:No,no" /> > > <ft:objectAdmin > ... > stFilterMetaData="#stFilterMetaData#" > /> > > 2010/1/18 pingchuan jiang <[email protected]> > > Hi AJ, >> >> That seems reasonable. But I still cannot return all results regardless of >> "confirmed" property, can you please explain it in detail? Thanks. >> >> Cheers, >> >> 2010/1/18 AJ Mercer <[email protected]> >> >> in customadmin/customlists/ edityou admin page >>> There will be a ft:objectAdmin >>> with ColumnList and lFilterFields >>> set with appropriate fields >>> >>> If you want to overtied any of the defaults you can use stFilterMetaData >>> passing it a struct >>> eg >>> >>> <!--- Override the client side validation for the filter fields. ---> >>> <cfset stFilterMetaData = StructNew() /> >>> <cfset stFilterMetaData.title.ftValidation = "" /> >>> <cfset stFilterMetaData.title.ftDefault = "" /> >>> <cfset stFilterMetaData.publicationTypeID.ftValidation = "" /> >>> <cfset stFilterMetaData.publicationTypeID.ftDefault = "" /> >>> >>> >>> >>> 2010/1/18 jpcpal <[email protected]> >>> >>>> Hi All, >>>> >>>> I have a property "confirmed" with the two values "yes" and "no". >>>> also, I added this property to the object admin so I can filter >>>> through this value. But now I have the problem, when I filter, the >>>> results in farcry CMS under "content" tab will either return the >>>> results with yes or no in "confirmed" property. So how can I return >>>> all the results ignoring the property. Thanks. >>>> >>>> Cheers, >>>> >>>> -- >>>> You received this message cos you are subscribed to "farcry-dev" Google >>>> group. >>>> To post, email: [email protected] >>>> To unsubscribe, email: >>>> [email protected]<farcry-dev%[email protected]> >>>> For more options: http://groups.google.com/group/farcry-dev >>>> -------------------------------- >>>> Follow us on Twitter: http://twitter.com/farcry >>>> >>> >>> >>> >>> -- >>> AJ Mercer >>> http://webonix.net >>> http://twitter.com/webonix >>> >>> -- >>> You received this message cos you are subscribed to "farcry-dev" Google >>> group. >>> To post, email: [email protected] >>> To unsubscribe, email: >>> [email protected]<farcry-dev%[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]<farcry-dev%[email protected]> >> For more options: http://groups.google.com/group/farcry-dev >> -------------------------------- >> Follow us on Twitter: http://twitter.com/farcry >> > > > > -- > AJ Mercer > http://webonix.net > http://twitter.com/webonix > > -- > You received this message cos you are subscribed to "farcry-dev" Google > group. > To post, email: [email protected] > To unsubscribe, email: > [email protected]<farcry-dev%[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
