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