I can't get the filters and custom filters working properly when passing to GenericAdmin.

... and I can't find any sample code in FarCry core.

What i have:

<cfscript>
        stCriteria = StructNew();
        stCritera.customfilter = " and 1=2";
</cfscript>

<farcry:genericAdmin
        permissionType="#stGrid.permissionType#"
        typename="#typename#"
        stGrid="#stGrid#"
        bDisplayCategories="0"
        criteria="#stCriteria#">

This should return 0 results in the generic admin, but it doesn't.
Same goes for normal filters (e.g. stCritera.currentStatus = "approved")

Any pointers?

-- tim

www.toolmantim.com

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to