Paul Harrison spoke the following wise words on 21/04/2004 2:29 PM EST:
This is completely undocumented at the moment - but in short you will
want to look at doing the following for you custom type :

*Make sure your custom objectt extends
"farcry.farcry_core.packages.farcry.genericAdmin"

Hrmm... biiig problem. My type already extends another component, which is exactly the downfall of the approach you took here. A better approach would be to use the component's metadata to figure out if the function has been defined.


You can then overide farcry.farcry_core.packages.farcry.genericAdmin's "getObjects" and "renderSearchFields" methods in your custom object CFC.
getObjects returns the query that populates the data grid (usually in
response to the criteria from renderSearchFields ) - renderSearchFields
is the method that returns the HTML for the search fields you see above
the grid.
I reccomend taking a good look @
farcry.farcry_core.packages.farcry.genericAdmin to get an idea of whats
going on with these two methods - hopedully that will clear it up :)

ok, thanks Paul.


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