I would love to know why the redirect functioned in production as it was
originally coded.
DW
'Bern e Bern' via model-glue wrote:
I solved this by moving the redirect into a view file. Sort of built a
bridge…
<event-handler name="do.emailUser">
<broadcasts>
<message name="emailRegisterAction" />
</broadcasts>
<results>
<result do="page.setuserlogin" redirect="true" />
</results>
<views />
</event-handler>
<event-handler name="page.setuserlogin">
<broadcasts>
</broadcasts>
<results>
</results>
<views>
<include name="body" template="dspGoToLMS.cfm">
</include>
</views>
</event-handler>
dspGoToLMS.cfm
<cflocation url="/tobaccorecovery/LMS/setuserlogin.cfm">
On Wednesday, September 9, 2015 at 4:33:53 PM UTC-4, [email protected]
wrote:
Shouldn't the "do" attribute in a result be set to the name of
another event, not to a URL?
On Wed, Sep 9, 2015 at 1:53 PM, Dan Wilson <[email protected]
<javascript:>> wrote:
Check and see if you have URL rewriting at the Web Server layer.
'Bern e Bern' via model-glue wrote:
We have inherited an old model glue application we are tasked
with upgrading. Within the modelglue.xml file is a reference
to a relative url. This works fine in the production
environment (windows 2003 ,CF 8, sql server 2005) but it
throws an error in our dev environment (windows 2008 r2, CF
10, sqlserver 2012). It complains there is no event handler
defined for "/tobaccorecovery/LMS/setuserlogin.cfm". We have
very little experience with modelglue so are at a lose as to
how to fix this. It's supposed to create an account then
forward to the secure area of the application. The account is
created fine but the redirect fails as mentioned. Any help is
appreciated, thanks.
<event-handler name="do.emailUser">
<broadcasts>
<message name="emailRegisterAction" />
</broadcasts>
<results>
<result do="/tobaccorecovery/LMS/setuserlogin.cfm"
redirect="true" />
</results>
<views />
</event-handler>
--
--
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog
You received this message because you are subscribed to the
Google
Groups "model-glue" group.
To post to this group, send email to
[email protected] <javascript:>
To unsubscribe from this group, send email to
[email protected] <javascript:>
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
<http://groups.google.com/group/model-glue?hl=en>
---
You received this message because you are subscribed to the
Google Groups "model-glue" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to [email protected]
<javascript:>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
--
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
<javascript:>
To unsubscribe from this group, send email to
[email protected] <javascript:>
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
<http://groups.google.com/group/model-glue?hl=en>
---
You received this message because you are subscribed to the
Google Groups "model-glue" group.
To unsubscribe from this group and stop receiving emails from
it, send an email to [email protected]
<javascript:>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
Thanks,
Tom
Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560
--
--
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog
You received this message because you are subscribed to the Google
Groups "model-glue" 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/model-glue?hl=en
---
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
--
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog
You received this message because you are subscribed to the Google
Groups "model-glue" 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/model-glue?hl=en
---
You received this message because you are subscribed to the Google Groups "model-glue" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.