aftershock has asked for the wisdom of the Perl Monks concerning the following question:

Hi, On every page/view, I have let me say, a button. I mean the same one on the top of the page.
If I press the button something happens (the same thing on every page) but I want the current action reexecuted or the current view redisplayed.
Or go to the same action(button action) but to return to the previous action with all arguments...or just redisplay the page. How can I do that in Catalyst/?
Thanks.
I use Tool Templates.

Replies are listed 'Best First'.
Re: A catalyst problem
by locked_user sundialsvc4 (Abbot) on Mar 09, 2011 at 14:26 UTC

    This question is so vague that I cordially suggest you look over some of the existing Catalyst applications that are out there, to see if you can find something similar to what you are now looking for.

    I would generally suggest that you think in terms of defining a new action type ... one which implements “executing such-and-such action followed by the remembered one whatever-that-is.”   From time to time, the information about “what is now to be ‘the remembered action’ and its parameters” would then be updated.

Re: A catalyst problem
by Anonymous Monk on Mar 09, 2011 at 02:34 UTC
Re: A catalyst problem
by jdrago999 (Pilgrim) on Mar 11, 2011 at 23:02 UTC
    <input type="button" onclick="document.location.reload()" value="Click + to Reload" />
      yes that helped towards the solution.
      I ended up using ajax to call an action, then reload the page. That works.