In the list.cfm for your object,  there is the following tag
<farcry:genericAdmin 
...

 >

I added 
   criteria="#stCriteria#"
which is a struct containing the following fields:
    filter,SEARCHTEXT&filterType


I had to modify:
    \farcry\farcry_core\tags\farcry line 351 (b220)
writeoutput(oType.renderSearchFields(criteria=form,typename=attributes.typename,
criteria=attributes.criteria));

added criteria=attributes.criteria


On Mon, 10 Jan 2005 15:41:44 +0800, Andrew Mercer <[EMAIL PROTECTED]> wrote:
> For an object like a news item, I have poplulated the filter form with
> default values. Is there an easy way for the object list to have the
> filter appied when first opened?
> 
> I have my own object that extends
> farcry.farcry_core.packages.farcry.genericAdmin
> and have overridden the renderSearchFields function - has a simpler
> search and with default value.
> 
> ---
> You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>

---
You are currently subscribed to farcry-dev as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to