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

2009-04-29 Thread kakimoto
Yes. If you detach(), you're basically saying 'do nothing more on this request'. That plus the redirect mean that template processing is not done, as I understand it. This is no doubt dealt with in the action Hi, Ian, The app works fine except that I have set up an eval block within

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

2009-04-29 Thread Tomas Doran
kakim...@tpg.com.au wrote: The app works fine except that I have set up an eval block within my controller. My detach call comes right after the redirect call. It looks like this: $c-res-redirect($c-uri_for('/users/subscriptions/added ')); $c-detach (); What's

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

2009-04-29 Thread kakimoto
Another thought - what does $c-detach() do / what do you expect it to do? If you aren't detaching _to somewhere_, then why not just return? hello, tom, Good arvo. From what I have read in some of the docs (sorry, I dont have my bookmarks handy), they did mention that after a redirection,

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

2009-04-27 Thread Matt S Trout
On Mon, Apr 27, 2009 at 11:09:19AM +1000, kakim...@tpg.com.au wrote: Hello, Oliver, Good morning. Referring to http://kobesearch.cpan.org/htdocs/Catalyst-Runtime/Catalyst.html#c_gt_detach_class_method_arguments, under $c-detach(), it says that detach is the same as forward, but doesn't

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

2009-04-27 Thread kakimoto
Hi, everyone, I know that most people here would understand redirect, forward and detach well. Unfortunately, there are people like myself who don't understand it that well and hence, after looking at the CPAN catalyst docs and J.Rockway's book, still fail to find a page that defines these methods

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

2009-04-27 Thread J. Shirley
On Mon, Apr 27, 2009 at 9:07 PM, kakim...@tpg.com.au wrote: Hi, everyone, I know that most people here would understand redirect, forward and detach well. Unfortunately, there are people like myself who don't understand it that well and hence, after looking at the CPAN catalyst docs and

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

2009-04-27 Thread Simon Wilcox
On 27/4/09 13:35, J. Shirley wrote: STOP. TOP. POSTING. He didn't. It was a whole message without any previous content. Arguably this might have been a new thread but it seems to continue the thread so I think it was OK. Since you're whining about posting etiquette, can I ask you to trim

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

2009-04-27 Thread J. Shirley
On Mon, Apr 27, 2009 at 9:57 PM, Simon Wilcox sim...@digitalcraftsmen.netwrote: On 27/4/09 13:35, J. Shirley wrote: STOP. TOP. POSTING. He didn't. It was a whole message without any previous content. Arguably this might have been a new thread but it seems to continue the thread so I

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

2009-04-27 Thread J. Shirley
On Mon, Apr 27, 2009 at 9:55 PM, kakim...@tpg.com.au wrote: Hello, J. Shirley, Thank you for your explaination. It made things much clearer and confirmed a lotta things. One last trivial question: A redirect is to a URI, composed of however you make it. If you preserve the

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

2009-04-27 Thread Ian Wells
2009/4/27 kakim...@tpg.com.au: Hello, J. Shirley,  Thank you for your explaination. It made things much clearer and confirmed a lotta things. Akimoto-san, people have been answering the questions that you've asked, but I wanted to check up what it is that you're trying to do. Tell me if I

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

2009-04-27 Thread Jonathan Rockway
* On Mon, Apr 27 2009, Simon Wilcox wrote: On 27/4/09 13:35, J. Shirley wrote: STOP. TOP. POSTING. Bottom posting without trimming is just as bloody annoying as top posting. YES, thank you. Top posting is much better than bottom-posting ok after a 10-page email. Let's avoid both, eh?

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

2009-04-27 Thread Jonathan Rockway
* On Mon, Apr 27 2009, J. Shirley wrote: On Mon, Apr 27, 2009 at 9:57 PM, Simon Wilcox sim...@digitalcraftsmen.net wrote: Trimming is highly subjective and contextual, top posting is simply bad form. FWIW, my mail client can convert top-posting to bottom-posting automatically, but it can't

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

2009-04-27 Thread kakimoto
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

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

2009-04-27 Thread kakimoto
Hello, Mr Wells, Good morning and a big thank you for your reply. It was pretty accurate. Last night, I managed to get my problem fixed by using a redirect prior to receiving your reply. Basically, my solution was conceptually on the same lines as the proposed solution which you had given.

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

2009-04-27 Thread J. Shirley
On Tue, Apr 28, 2009 at 4:12 AM, Jonathan Rockway j...@jrock.us wrote: * On Mon, Apr 27 2009, J. Shirley wrote: On Mon, Apr 27, 2009 at 9:57 PM, Simon Wilcox sim...@digitalcraftsmen.net wrote: Trimming is highly subjective and contextual, top posting is simply bad form. FWIW, my mail

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

2009-04-27 Thread J. Shirley
On Tue, Apr 28, 2009 at 7:10 AM, kakim...@tpg.com.au wrote: 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

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

2009-04-26 Thread kakimoto
Hello, Oliver, Good morning. Referring to http://kobesearch.cpan.org/htdocs/Catalyst-Runtime/Catalyst.html#c_gt_detach_class_method_arguments, under $c-detach(), it says that detach is the same as forward, but doesn't return to the previous action when processing is finished. Comments?

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

2009-04-26 Thread J. Shirley
On Mon, Apr 27, 2009 at 10:09 AM, kakim...@tpg.com.au wrote: Hello, Oliver, Good morning. Referring to http://kobesearch.cpan.org/htdocs/Catalyst-Runtime/Catalyst.html#c_gt_detach_class_method_arguments , under $c-detach(), it says that detach is the same as forward, but doesn't return

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

2009-04-25 Thread oliver . g . charles
kakim...@tpg.com.au wrote: hello, all, I have a method in my controller which adds entries. The method is setup to match the path of 'users/subscriptions/add'. Upon successfully adding entries, I want the same method to be executed again (only that the method will know which template