On 11/02/2008, Andreas Marienborg <[EMAIL PROTECTED]> wrote:
> Hey again :p
>
> empty_first is nice, but I was wondering if its possible to have a
> label for it? specificaly label_loc :p
That sounds reasonable.
It'll need to be added to Element/_Group.pm
Import mk_output_accessors() from HTML::FormFu::Attribute
then do:
__PACKAGE__->mk_output_accessors(qw/ empty_first_label /);
And it'll also automatically create methods for
empty_first_label_loc() and empty_first_label_xml()
The more difficult bit will be searching through _Group.pm for all
uses of empty_first and making sure it's handled properly.
And tests too, of course :p
Oh, and do you have commit access?
Cheers,
Carl
_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu