Hi Moritz,
your suggestion of just overwriting the hash properties is quite good.
How shall we handle the 'only_name' attribute. I wouldn't like to send
the decoded name to the render method. Maybe we can send the function
name, which shall be used to get the field name. So default would be
'nested_name' and if attribute 'namemethod' is set, we use that function.
What do you think?
Greets,
Mario
Moritz Onken schrieb:
Am 05.07.2009 um 00:32 schrieb Mario Minati:
Hi Moritz,
I've now uploaded all my recent additions including docs and tests
for both
modules.
All tests pass again on my side.
Hi mario,
I'm reviewing your changes right now:
http://code.google.com/p/html-formfu/source/detail?r=1557:
I'd prefer if the arguments we pass to record and column_model would
simply overwrite the existing ones.
a call to record( $element, { type => 'datetime', defaultValue =>
'111' }} would simply DWIM. I think this is way more intuitive and
allows to overwrite other attributes like "mapping" as well.
thanks for all the other improvements and refactoring!
cheers,
moritz
_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu