Does html select list: need to be a collection of symbols?

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

Does html select list: need to be a collection of symbols?

Louis LaBrunda
Hi Everyone,

For some reason I have it in my head that a Seaside html select list (a drop down list) needs to be a collection of
symbols.  Is this true?

                html select
                        list: anOrderedCollectionOfSymbols;
  selected: aSymbol;
                        ....

Ordinarily I would just test this but at the moment that isn't very easy.  Thanks in advance for any answers.

Lou
--
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon

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

Re: Does html select list: need to be a collection of symbols?

Esteban A. Maringolo
Louis,

The list can be any list of objects, you can customize the displayed
text by using the `labels:` block, otherwise the default print string
will be used.

If you're using Bootstrap you can use this "select" brush as well, which
provides more options:
https://github.com/eMaringolo/seaside-bootstrap-select

Regards!


On 12/09/2018 17:26, Louis LaBrunda wrote:

> Hi Everyone,
>
> For some reason I have it in my head that a Seaside html select list (a drop down list) needs to be a collection of
> symbols.  Is this true?
>
> html select
> list: anOrderedCollectionOfSymbols;
>   selected: aSymbol;
> ....
>
> Ordinarily I would just test this but at the moment that isn't very easy.  Thanks in advance for any answers.
>
> Lou
>

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

Does html select list: need to be a collection of symbols?

Louis LaBrunda
Hi Esteban,

Thanks, this is just what I needed to know.

Lou

On Wed, 12 Sep 2018 18:44:48 -0300, "Esteban A. Maringolo" <[hidden email]> wrote:

>Louis,
>
>The list can be any list of objects, you can customize the displayed
>text by using the `labels:` block, otherwise the default print string
>will be used.
>
>If you're using Bootstrap you can use this "select" brush as well, which
>provides more options:
>https://github.com/eMaringolo/seaside-bootstrap-select
>
>Regards!
>
>
>On 12/09/2018 17:26, Louis LaBrunda wrote:
>> Hi Everyone,
>>
>> For some reason I have it in my head that a Seaside html select list (a drop down list) needs to be a collection of
>> symbols.  Is this true?
>>
>> html select
>> list: anOrderedCollectionOfSymbols;
>>   selected: aSymbol;
>> ....
>>
>> Ordinarily I would just test this but at the moment that isn't very easy.  Thanks in advance for any answers.
>>
>> Lou
>>
--
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside