Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] multiple indexes and checkbox_group default to allindexes

From: Wayne Humphrey <Wayne_Humphrey(at)not-real.symantec.com>
Date: Thu May 08 2008 - 09:12:41 GMT
Bill,

Top man thanks a mill for that works SPOT on.

--wayne

-----Original Message-----
From: users-bounces@lists.swish-e.org
[mailto:users-bounces@lists.swish-e.org] On Behalf Of Bill Moseley
Sent: 07 May 2008 20:31
To: Swish-e Users Discussion List
Subject: Re: [swish-e] multiple indexes and checkbox_group default to
allindexes

On Wed, May 07, 2008 at 05:16:12PM +0100, Wayne Humphrey wrote:
> And all I would like to do is (checked="checked") on all the
checkboxes.
> I cannot find it any ware in TemplateDefault.pm any pointes?

This would be my guess (because of the 'si'):

    return join "\n",
        '<br>',
        ( $select_config->{description} || 'Select: '),
        $q->$method(
        -name   => 'si',
        -values => [0..$#labels],
        -default=> 0,
        -labels => \%map,
        @cols );


So I have not used CGI.pm in years but my guess is you would do:

    -defaults => [0..$#labels],


-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs

_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Thu May 8 05:11:57 2008