Yann Kerherv� <[EMAIL PROTECTED]> writes:

> On Tue, Jul 30, 2002 at 02:23:51PM +0100, Dave Hodgkinson wrote:
> > 
> > params.my_thingy is only returning one value, probably as per the CGI
> > docs which requires:
> > 
> >      @turned_on = $query->param('group_name');
> > 
> > Since I'm going to be using a Plugin to handle this, can I reference
> > the CGI object from my plugin? I tried finding it in the stash...
> 
> 
> Quick and dirty hack around Apache::Request, to turn it into a
> plugin :

OK, I kinda did that. 

Now we're potentially off topic but with: 

sub checkbox {
  my $self = shift ;
  my $check = shift || return undef ;
  warn $check ;

  my $r = $self->{_request} ;
  my @stuph = $r->param('keyword_id') ;
  warn Dumper(\@stuph) ;
  return \@stuph ;
}

If I have:

 q.start_form('POST',"/staff/") ;

It fails, and

 q.start_form('GET',"/staff/") ;

It works!

Thoughts?

-- 
Dave Hodgkinson, Wizard for Hire         http://www.davehodgkinson.com
Editor-in-chief, The Highway Star        http://www.thehighwaystar.com
   Interim Technical Director, Web Architecture Consultant for hire

_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://www.template-toolkit.org/mailman/listinfo/templates

Reply via email to