Multi-select drop down list

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Multi-select drop down list

Bob Nemec
Has anyone implemented or wrapped a multi-select dropdown list in Seaside? 

I'm looking at jQuery plugins like https://www.positronx.io/multiselect-dropdown-list-with-checkboxes-jquery-plugin/ which render fine, but I'd like to be able to better hook in to the select / unselect events. 

Shouldn't be too hard; but I'd rather not repeat work that may already have been done. 

Thanks for any info,
Bob Nemec


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Bob Nemec
Reply | Threaded
Open this post in threaded view
|

Re: Multi-select drop down list

Esteban A. Maringolo
Hi Bob,

I'm using a wrapper for Bootstrap Select [1] that you can get in my
Github Repo [2]

I might also wrap Select2 [3] because it supports remote data search,
which in my case might be useful. But currently it is simpler and
faster to push 200 options to the client. :-)

My wrapper was done for Bootstrap 3, but I'm currently using just the
wrapper with Bootstrap 4 and it works the same, but I'm linking to the
newer CSS/JS files instead of using the WAFileLibrary.

Best regards!

[1] https://github.com/eMaringolo/seaside-bootstrap-select
[2] https://developer.snapappointments.com/bootstrap-select/examples/#multiple-select-boxes
[3] https://select2.org/data-sources/ajax

Esteban A. Maringolo

On Wed, Aug 19, 2020 at 5:52 PM Bob Nemec <[hidden email]> wrote:

>
> Has anyone implemented or wrapped a multi-select dropdown list in Seaside?
>
> I'm looking at jQuery plugins like https://www.positronx.io/multiselect-dropdown-list-with-checkboxes-jquery-plugin/ which render fine, but I'd like to be able to better hook in to the select / unselect events.
>
> Shouldn't be too hard; but I'd rather not repeat work that may already have been done.
>
> Thanks for any info,
> Bob Nemec
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Multi-select drop down list

Esteban A. Maringolo
Hi all,

I just updated the repository with a working example for Bootstrap 4
in the bootstrap4 branch [1], and also updated the FileLibrary.

I have a lot of "convenience" methods I use daily, but I'm using it
mostly in VisualWorks, so I'm locked inside of it and it's hard to
get code out, so what it is in SBSSelectPickerTag is a small set of
what can be done.

However, most of the settings are simply setting an option, an attribute or a
"data" attribute.

Regards!

[1] https://github.com/eMaringolo/seaside-bootstrap-select/tree/bootstrap4

Esteban A. Maringolo



On Wed, Aug 19, 2020 at 10:34 PM Esteban Maringolo <[hidden email]> wrote:

>
> Hi Bob,
>
> I'm using a wrapper for Bootstrap Select [1] that you can get in my
> Github Repo [2]
>
> I might also wrap Select2 [3] because it supports remote data search,
> which in my case might be useful. But currently it is simpler and
> faster to push 200 options to the client. :-)
>
> My wrapper was done for Bootstrap 3, but I'm currently using just the
> wrapper with Bootstrap 4 and it works the same, but I'm linking to the
> newer CSS/JS files instead of using the WAFileLibrary.
>
> Best regards!
>
> [1] https://github.com/eMaringolo/seaside-bootstrap-select
> [2] https://developer.snapappointments.com/bootstrap-select/examples/#multiple-select-boxes
> [3] https://select2.org/data-sources/ajax
>
> Esteban A. Maringolo
>
> On Wed, Aug 19, 2020 at 5:52 PM Bob Nemec <[hidden email]> wrote:
> >
> > Has anyone implemented or wrapped a multi-select dropdown list in Seaside?
> >
> > I'm looking at jQuery plugins like https://www.positronx.io/multiselect-dropdown-list-with-checkboxes-jquery-plugin/ which render fine, but I'd like to be able to better hook in to the select / unselect events.
> >
> > Shouldn't be too hard; but I'd rather not repeat work that may already have been done.
> >
> > Thanks for any info,
> > Bob Nemec
> >
> > _______________________________________________
> > seaside mailing list
> > [hidden email]
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside