Michael,

Michael @Four Eyes wrote:
OK, so I am creating a custom type. I need to cflocate to a single page in my directory and cannot figure out how.
So for example, I have
packages
--types
mycustomType.cfc
----myCustomType
somePage.cfm I need to do a cflocation from my PLP

Where are you trying to redirect to from the PLP?


You can only CFLOCATE to a page under the project webroot OR to a page under the FarCry Admin virtual. If you want to CFLOCATE to another page in "customadmin" then you need to call the "customadmin" page with the appropriate parameters.

For example, at the end of one of my custom type edit methods i have this:
<!--- all done in one window so relocate back to main page --->
<cflocation url="#application.url.farcry#/admin/customadmin.cfm?module=mxRegistration/listRegistrations.cfm" addtoken="no">


Hope that helps,

-- geoff
http://www.daemon.com.au/


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