Hi Jake,

        no that was what I was doing :)  the issue is that the plp code  
redirects to customadmin.cfm which then plucks the module variable  
from the url and makes a cfmodule call.  So without editing the  
customadmin.cfm file which I don't want to do, I can't see a way to  
pass in the variable.

        There must be something I'm missing but I'm stuffed if I can see it.

Toby

On 19/01/2007, at 22:48 , Jake Churchill wrote:

>
> I'm gonna take a stab at this at 5:30am so if I sound like an  
> idiot, please forgive me.
> The PLP steps contained in the dmHTML "wizard" use a javascript  
> 'location.href=' call which I believe acts as a redirect.  As far  
> as scoping the object id, have you tried the request scope?  I've  
> found that farcry (in general) dumps everything for the current  
> page in the request scope.  Have you dumped stObj to find out what  
> it contains, if anything at all?  One last thing, and I'm not in  
> the office today so I can't check on this, but you might want to  
> check farcry/farcry_core/admin/admin/customadmin.cfm to find out  
> what it is doing with the parameters.  Perhaps you need a call like  
> customadmin.cfm?module=products/productOverview.cfm? 
> objectid=#stObj.ObjectID#, notice the object ID appended to the  
> productOverview.cfm rather than customadmin.cfm.  You'd probably  
> have to escape the second question mark for this to work.
>
> Other than that, I'm out of ideas unless you can show me some  
> code.  Hopefully someone else (where it's not so early in the  
> morning) will have some ideas to guide you.
>
> Good Luck.
>
> -Jake
>
> Toby Tremayne wrote:
>> Hi all,
>> I'm trying to get a standard wizard to return the user to a custom  
>> location instead of the standard edittabOverview.cfm and having  
>> some odd issues.  I use a genericAdmin tag, and a copy of the  
>> dmhtml wizard with all the same stuff in the edit.cfm.  I'm  
>> setting the cancelCompleteUrl to #application.url.farcry#/admin/ 
>> customadmin.cfm?objectid=#stObj.ObjectID#&module=products/ 
>> productOverview.cfm
>>
>> my problem is that if the user clicks SAVE, they are taken to this  
>> custom page with no problems.  If however they click CANCEL, they  
>> are still taken to the page but obviously via a different route,  
>> because suddently url.objectID is no longer available.  I've tried  
>> everything I can think of, and in tracking through the code calls  
>> I haven't seen quite what's going on.  I can see that it seems to  
>> be being called via a cfmodule for cancel, but is redirecting to  
>> the url itself for save - however the caller scope never contains  
>> url.objectid either!  Any ideas?
>>
>> Toby
>>
>>
>> -----------------------------------
>>
>> Life is poetry, write it in your own words
>>
>> -----------------------------------
>>
>> Toby Tremayne
>> Senior Technical Consultant
>> Lyricist Software
>> 0416 048 090
>> ICQ: 13107913
>>
>>
>>
>> >
>
> 


-----------------------------------

        Life is poetry, write it in your own words

-----------------------------------

Toby Tremayne
Senior Technical Consultant
Lyricist Software
0416 048 090
ICQ: 13107913



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to