<result name="goodLogin" do="blog.viewEntries" redirect="true"
append="entryID" preservestate="true" />  (not tested... just guessin')

On Fri, Oct 24, 2008 at 2:16 PM, garence
<[EMAIL PROTECTED]>wrote:

>
> Hi all -
>
> Recently, I programmed a "BlogBoard" application (consider it a blog-
> style message board) for use at my workplace. To provide folks with a
> pulse as to the recent happenings on the blog, I created a weekly
> digest email that among other things provides links to recent blog
> entries. An example of a link looks like this:
>
>
> http://theplaza.minneapolis.edu/index.cfm?event=blog.viewComments&entryID=01F49C9D-1B78-3104-B8B54ED3513240A7
>
> That's all well and good. But here's the rub - an employee must login
> in order to interface with the blog, and upon successful login
> ("goodLogin" result), the user gets redirected to a hard-coded event
> ("blog.viewEntries"). For the moment, anyway:
>
>                <event-handler name="mymctc.authenticate">
>                        <broadcasts>
>                                <message name="mymctc.authenticate" />
>                        </broadcasts>
>                        <results>
>                                <result name="goodLogin"
> do="blog.viewEntries" redirect="true" />
>                                <result name="badLogin" do="mymctc.login"
> redirect="true" />
>                        </results>
>                        <views />
>                </event-handler>
>
> What I'd like to do is land a user at the event they intended to view
> prior to logging in to the blog. In the example above, it'd be a
> return to the "blog.viewComments&entryID=01F49C9D-1B78-3104-
> B8B54ED3513240A7" event.
>
> Suggestions for how I might implement this feature?
>
> Gary
> >
>


-- 
I have failed as much as I have succeeded. But I love my life. I love my
wife. And I wish you my kind of success.

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

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to