Hi Carl, I svn commited Plugin/Constraint/Element::RequestToken.
Plugin::RT adds the Element::RT which adds Constraint::RT to it. cheers, moritz On Tue, 10 Feb 2009 22:01:14 +0000, Carl Franks <fireart...@gmail.com> wrote: > Hi Moritz, > > Could you attach your RequestToken.pm, and I'll take a look? > > Cheers, > Carl > > 2009/2/10 <on...@houseofdesign.de>: >> >> Hi, >> >> I'm almost done with this. >> But I have a problem with the Element::RequestToken I wrote. >> >> It contains some accessors like "session_key" which I created with >> __PACKAGE__->mk_item_accessors ( qw( session_key ) ); >> >> But I cannot set this value: >> >> ->elements({type => 'RequestToken', name => $self->field_name, >> session_key >> => $self->session_key }); >> >> >> The new constructor in Element::RequestToken looks like: >> >> >> sub new { >> my $self = shift->next::method(@_); >> my %params = @_; >> $self->session_key('__token'); >> return $self; >> } >> >> Which should set the default to "__token" >> >> Any ideas why this does not get overwritten? >> >> Thanks >> >> moritz >> _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu