Have a look at the core types edit function. From memory, it might be doing something like that.
Blair 2009/7/15 Tomek Kott <[email protected]> > Hi All, > > I have a custom type for which I have a custom admin page which calls: > > openScaffoldDialog('#efrEdit#','Edit: > #application.stCOAPI[stObj.typename].displayname# Status',800,600,true) > > Where 'efrEdit' is set to: > > > "#application.url.farcry#/conjuror/invocation.cfm?objectid=#stObj.objectid#&method=editStatus&iFrame=1" > > the editStatus.cfm has an <ft:form> with <ft:processForm> etc., and what > I'd like to do is on, say, > > <ft:processForm action="Cancel"> > > To automatically close the window. So far the ExtJS window is popping up > correctly, and even processing the form correctly (for all other functions > of the tag. Now I just need to close it! I've tried the normal javascript > window.close() but that doesn't seem to work. Any insight on how to close an > extJS window from the "inside" so to speak? > > Thanks, > > Tomek > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry -~----------~----~----~----~------~----~------~--~---
