Or maybe a better idea would be to use IsParent (or Parent) for those actions that can have children (logical isn't it?). Then we could use Args all the time instead of CaptureArgs (with EndPoint).
Z. On Dec 20, 2007 12:31 PM, Matt S Trout <[EMAIL PROTECTED]> wrote: > > On Wed, Dec 19, 2007 at 02:18:17PM +0000, Zbigniew Lukasiak wrote: > > On Dec 18, 2007 2:00 AM, Matt S Trout <[EMAIL PROTECTED]> wrote: > > > On Mon, Dec 17, 2007 at 08:39:29PM +0000, Zbigniew Lukasiak wrote: > > > > Yeah - some time ago I proposed to add an EndPoint attribute and get > > > > rid of the CaptureArgs one that is not very intuitive (and use Args in > > > > both cases). > > > > > > I don't remember seeing the code - if you update your patch to work > > > against > > > 5.80 trunk we can have a look ... > > > > A proof of concept implementation is in > > Catalyst::Controller::PathPart. It replaces the attributes at parsing > > time, I guess this would not be appropriate for the core of Catalyst. > > I am now going to port that change into > > lib/Catalyst/DispatchType/Chained.pm. I am not sure I'll be able to > > do it though. > > Remember you can't break backcompat in the process either ... > > > -- > Matt S Trout Need help with your Catalyst or DBIx::Class project? > Technical Director http://www.shadowcat.co.uk/catalyst/ > Shadowcat Systems Ltd. Want a managed development or deployment platform? > http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/ > > _______________________________________________ > 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/ > -- Zbigniew Lukasiak http://brudnopis.blogspot.com/ _______________________________________________ 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/
