On 30/05/07, Thorsten Domsch <[EMAIL PROTECTED]> wrote:

    my $id_day=$self->name."_day";  #<- not working :-( it should ??
    my $id_month=$self->name."_month";   #<- not working :-( it should ??
    my $id_year=$self->name"_year";  #<- not working :-( it should ??

Looking at how elements are created, I can see that new() is only
called with the 'type' and 'parent' arguments, and that all the
remaining arguments from your config are then passed via populate()
after new() has returned.
So, no - this won't work.
What's maybe needed is a setup method that's called on all elements,
after new() and populate() have run, but before the element is
returned?

Carl

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to