[html-formfu] Highly incorrect manual for HTML::FormFu::Model::DBIC!

Alex Povolotsky tarkhil at over.ru
Wed Apr 8 06:06:44 GMT 2009


Hello!

Example in manual for HTML::FormFu::Model::DBIC does not, repeat NOT 
work properly.

          ---
           element:
             - type: Repeatable
               nested_name: authors
               model_config:
                 delete_if_true: delete

               elements:
                 - type: Hidden
                   name: id

                 - type: Text
                   name: author

                 - type: Checkbox
                   name: delete

upon call of default_values, relation will be cleaned. It's a side 
effect of naming checkbox, just name it 'del', 'remove', 'clean' or 
something else. I'll try to write a test case today.

Alex.




More information about the HTML-FormFu mailing list