Dynamically generate the form's action, like...

<cfset event.SetValue('lastEvent', event.GetValue('event'))>
<form action="#event.LinkTo('action.votePollContent','lastEvent')#" ...>

Then in your controller, use the event.forward(event.GetValue('lastEvent'))

On Mon, Dec 21, 2009 at 9:47 AM, <[email protected]> wrote:

>
> Possibly you should put the event you'd like the user to go to in a hidden
> field. (Or a cookie, session variable, whatever makes sense for your
> application)
>
> Then, use event.forward() in a controller to send the user there.
>
>
> Make sense?
>
>

-- 
Chuck Savage
http://SeaRisen.com

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

Reply via email to