Menu

#4 redirect using maverick.net

open
nobody
None
5
2004-02-28
2004-02-28
Dawson
No

Hello:
I am trying to redirect from one action to another in
Maverick.NET. The first action executes and everything
is fine ... then it redirects to the next action, but on this
action I need to get information that was submitted
during the original action request. I thought this
information was available using chaining and the
maverick context, but it doesn't seem to be there. Any
advice on how this works would be great?

Thanks a lot,
Daws

Discussion

  • valdis iljuconoks

    Logged In: YES
    user_id=1118698

    we used specially created redirect.o3 which collects all
    incoming parameters and create new form, adding all
    parameters to form (including form action which was supplied
    within request parameters) and submit that form.
    so we emulate `redirect-with-parameters' feature this way.

     
  • valdis iljuconoks

    Logged In: YES
    user_id=1118698

    i'm actually working on new patches on maverick.net which
    will now support redirects like:

    ...
    <view name="success" type="redirect" path="show-results.m"
    preserve-parameters="true" />

    which will preserve all incoming parameters which were
    supplied to action handler (controller).

    any ideas how to deal with post method ??

     
  • valdis iljuconoks

    Logged In: YES
    user_id=1118698

    done :)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.