[html-formfu] Patch to allow to provide a callback to "when" inside a Constraint

Michele Beltrame mb at cattlegrid.info
Thu Jun 5 14:06:26 BST 2008


Hi Andreas!

> Could you make it so a callback also could be specified via the 
> config-files? Since now it seems to expect a coderef, but perhaps a string 
> pointing at a sub could also be allowed, or a class-name which should 
> implement some method?

Sorry, I forgot to put a "no strict 'refs'" in order to make this work
with a string as a callback. ;-)

I now applied my patch to trunk, as well as the fix as per your
suggestion.

Thanks,
Michele.

-- 
Michele Beltrame
http://www.cattlegrid.info/
ICQ 76660101 - MSN mb at italpro.net



More information about the HTML-FormFu mailing list