Hey,
Can you expand on this? I followed the suggestion that Ido and others had put 
forward, but I don't like the 'extra' midpoint to extend the chain; what would 
a simple example of your proposed solution look like?

Cheers,
Jeff

-----Original Message-----
From: Aristotle Pagaltzis [mailto:[email protected]] 
Sent: Thursday, May 27, 2010 7:48 AM
To: [email protected]
Subject: [Catalyst] Re: A point of confusion/frustration on chained actions

* Ido Perlmuter <[email protected]> [2010-05-20 00:35]:
> In this case all you have to do is create the comment
> action as a mid point, and then create another action with
> a different name, but the same PathPart (e.g. comment) only
> this time as an end-point, and all this action needs to do is
> forward or detach to the original action (also passing any
> parameters it needs).

Don’t do that.

Chain a `PathPart('')` endpoint from the mid-point.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to