[Catalyst] Can't seem to use forward or detach. Any special requirements?

kakimoto at tpg.com.au kakimoto at tpg.com.au
Mon Apr 27 22:10:51 GMT 2009


hello, J.Shirley,

 Good morning. Sorry if this post is being replied to at the top of the
message
in light of not further causing some disastifactions in the mailing list
(majority).

 Firstly, a big thank you for your response and confirmations.

 Yep, I did try experimenting with my current app and it's taken some time.
 I then hit the documentation and found that it would be better for me
to enquire
with the mailing list. Of course, the facts documented here in the
mailing list would
certainly benefit others (especially those who are starting to get their
feet into the
 Catalyst pool).

  thank you.

K. akimoto


> >
> Please respond just at the bottom of the message!
> 
> 1) Preserve request parameters, you can access all the parameters
> through
> $c->req->params and then append them when creating a new URL. 
> $c->uri_for(
> 'somewhere', $params ).
> 2) Yes, you have to copy any values you want to live longer than one
> request
> to the flash.  You can access them via $c->flash or $c->stash.  I
> honestly
> didn't know about the flash_to_stash config parameter, so try it and
> see.
> 
> You won't get better until you just try this stuff out.  Create a
> simple
> Catalyst application you can use just to experiment.  Learn how the
> redirect
> cycle affects the browser (especially after POST,
> http://en.wikipedia.org/wiki/Post/Redirect/Get)
> 
> Throw away Catalyst apps are very useful for learning how HTTP
> works.
> Catalyst's debug output is really fantastic.  Combine that with
> Firefox +
> Firebug and the Network panel, you get a huge amount of information.
> 
> -J
> 






More information about the Catalyst mailing list