renderObjectOverview() is used only in FC 3.0.  (renderOverview() is
deprecated in v3, replaced w/renderObjectOverview).

It looks like you may be interfacing w/ the security cfcs.  I haven't
done much w/ that, so am really not an expert.  Are you passing in
object id?  When I save my custom types, I do the following:

<cfif isdefined("url.ref") AND url.ref eq "typeadmin"> <!--- typeadmin
edit --->
        <cfset redirectURL = "#application.url.farcry#/content/dmflash.cfm">
<cfelse> <!--- editing from site tree --->
        <cfset redirectURL =
"#application.url.farcry#/edittabOverview.cfm?objectid=#stObj.objectid#"
/>
</cfif>


Hope that helps.

<cfif IsDefined("form.save") AND NOT IsDefined("form.cancel") AND NOT
IsDefined("form.done")>
        <cfset redirectURL =
'#application.url.farcry#/edittabEdit.cfm?objectid=#stObj.objectid#' />
</cfif>


<cfoutput>
        <script type="text/javascript">
        <!--- the code above updates the tree for us, so we need not do it
again here --->
        <!---
        if(parent['sidebar'].frames['sideTree']) {
                parent['sidebar'].frames['sideTree'].location=
parent['sidebar'].frames['sideTree'].location;
        }
         --->
        <!--- if we are in a frameset --->
        if(parent['content'].frames['content']) {
                parent['content'].location.href = "#redirectURL#";
        } else {
                <!--- else do not go through the frameset --->
                location.href = "#redirectURL#";
        }
        </script>
        </cfoutput>
        <cfabort>

Reply via email to