Re: [html-formfu] password processing

2010-01-26 Thread Carl Franks
2010/1/26 Octavian Rasnita : > Hi Carl, > > From: "Carl Franks" >> >> This is just a minor edit of HTML::FormFu::Transformer::Callback... >> >> package MyApp::MyValidator; >> >> use strict; >> use base 'HTML::FormFu::Validator'; > > Shouldn't extend HTML::FormFu::Transformer? > >> sub validate_val

Re: [html-formfu] password processing

2010-01-26 Thread Octavian Rasnita
Hi Carl, From: "Carl Franks" This is just a minor edit of HTML::FormFu::Transformer::Callback... package MyApp::MyValidator; use strict; use base 'HTML::FormFu::Validator'; Shouldn't extend HTML::FormFu::Transformer? sub validate_value { Does it use validate_value just like the validato

Re: [html-formfu] password processing

2010-01-26 Thread Carl Franks
2010/1/26 Octavian Rasnita : > > Can you give us a short example of a custom-made transformer? This is just a minor edit of HTML::FormFu::Transformer::Callback... package MyApp::MyValidator; use strict; use base 'HTML::FormFu::Validator'; sub validate_value { my ( $self, $value ) = @_;

Re: [html-formfu] password processing

2010-01-26 Thread Octavian Rasnita
Hi Carl, From: "Carl Franks" < fireart...@gmail.com> 2010/1/24 Alex Povolotsky < tark...@over.ru>: Hello! I'm going to implement reusable password processing - comparing two password fields and setting proper value in form to some hash. I guess it's best to be used with HTML::FormFu::T

Re: [html-formfu] password processing

2010-01-25 Thread Carl Franks
2010/1/24 Alex Povolotsky : > Hello! > > I'm going to implement reusable password processing - comparing two password > fields and setting proper value in form to some hash. > > I guess it's best to be used with HTML::FormFu::Transformer ; maybe someone > have expirience to share and/or suggestions

Re: [html-formfu] password processing

2010-01-24 Thread Octavian Rasnita
Please send that code to me (or on the list). Thanks. Octavian - Original Message - From: "Alex Povolotsky" To: "HTML Form Creation,Rendering and Validation Framework" Sent: Sunday, January 24, 2010 7:21 PM Subject: Re: [html-formfu] password processing

Re: [html-formfu] password processing

2010-01-24 Thread Alex Povolotsky
On 01/24/10 18:41, Octavian Rasnita wrote: I am also interested to find more about creating transformers in general but I couldn't find too much documentation, so if somebody know more, please tell us. Well, interface is rather simple and easy to read. The code is less than 50 lines, if anyone

Re: [html-formfu] password processing

2010-01-24 Thread Octavian Rasnita
I am also interested to find more about creating transformers in general but I couldn't find too much documentation, so if somebody know more, please tell us. Octavian - Original Message - From: "Alex Povolotsky" To: "HTML Form Creation,Rendering and Validation Framework" Sent: Su