Re: [Catalyst] action whose name started with underscore
Have you tried the same thing without the underscore but with :Private? On 14 November 2011 10:20, Hu Hailin i...@h2l.name wrote: Hello, I defined some actions in controller for inner forwarding purpose. To make the purpose clearly, I named them starting an underscore. -- package MyApp::Controller::Root; sub foo : Local { # blahblahblah $c-forward('_bar'); } sub _bar : Private { #blahblahblah } -- in this way, I can't trace the forwarding in debug mode witch supposed to be something like -- | /foo | - /_bar - this line doesn't exists -- Actually, the forwarding works as expected inside. Is it a implicit rule, or does an action starting with underscore mean something special? Thanks. -- islue ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/ -- Erez Stop software patents ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Best form library?
On 7 March 2011 11:15, Matthias Dietrich mdietr...@cpan.org wrote: Erez, Am 06.03.2011 um 22:43 schrieb Erez Schatz: As for HTML::Formhandler, I dunno whether this has been addressed, but when we used it (at my previous place of employment) we ran into some severe issues of, and I quote again, misbehaviour due to modified state after reset causing leaks and we ended up moving to FormFu, which I should say was somewhat under utilized for what it did offer us. Formhandler was also, to my taste, unwilling to allow any out-of-the-ordinary configuration and we ended up overriding a lot of form controls which makes the whole idea of a form generator a bit silly. Can you explain what your situation were in which you had to override HFH things? IIRC, there were issues with labels on controls. We wanted no label on a button, and had to override the button render method. There were some other stuff in which the way we wanted the form to look didn't fit the way H::FH thought a form should look, resulting in overriding the rendering methods and lots of crufty code. Keep in mind, this wasn't what made us ditch it in favour of FormFu. -- Erez La perfection soit atteinte non quand il n'ya plus rien à ajouter, mais quand il n'ya plus rien à retrancher. ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] Best form library?
On 6 March 2011 22:52, Devin Austin devin.aus...@gmail.com wrote: I like the functionality of HTML::FormFu as deployed in the tutorial example but also find the YAML a bit strange at first; Carl should really put this in flashing bold at the top of the page: all examples here are YAML, but you can use any format supported by Config::Any Which means XML, YAML, JSON, Apache-style configuration, Windows INI files, and even Perl code As for HTML::Formhandler, I dunno whether this has been addressed, but when we used it (at my previous place of employment) we ran into some severe issues of, and I quote again, misbehaviour due to modified state after reset causing leaks and we ended up moving to FormFu, which I should say was somewhat under utilized for what it did offer us. Formhandler was also, to my taste, unwilling to allow any out-of-the-ordinary configuration and we ended up overriding a lot of form controls which makes the whole idea of a form generator a bit silly. -- Erez La perfection soit atteinte non quand il n'ya plus rien à ajouter, mais quand il n'ya plus rien à retrancher. ___ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/