[Lift] Optgroup in select ?

2010-01-26 Thread Francois
Hello, I'm wondering if it is possible to use optgroup tag with SHtml.select ? If not, what would be the best way to use them ? -- Francois ARMAND http://fanf42.blogspot.com -- You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send

Re: [Lift] Optgroup in select ?

2010-01-26 Thread David Pollak
On Tue, Jan 26, 2010 at 3:40 AM, Francois fan...@gmail.com wrote: Hello, I'm wondering if it is possible to use optgroup tag with SHtml.select ? It's not possible today. Do you have an idea of what the API should look like? If not, what would be the best way to use them ? --

Re: [Lift] Optgroup in select ?

2010-01-26 Thread Francois
Le 26/01/2010 18:25, David Pollak a écrit : It's not possible today. Do you have an idea of what the API should look like? I believe that a simple select with a Seq[(String, Seq[(T,String)])] could be sufficient. On the other hand, there is already a lot of selectbox related methods in

Re: [Lift] Optgroup in select ?

2010-01-26 Thread Naftoli Gugenheim
Which method doesn't let you pass attributes? - Francoisfan...@gmail.com wrote: Le 26/01/2010 18:25, David Pollak a écrit : It's not possible today. Do you have an idea of what the API should look like? I believe that a simple select with a Seq[(String,

Re: [Lift] Optgroup in select ?

2010-01-26 Thread Francois Armand
Le 26/01/2010 20:40, Naftoli Gugenheim a écrit : Which method doesn't let you pass attributes? All select methods do have an attrs:(String,String)* parameter, but as far as I understand, attributes are applied to the select, not to option tag, and sometime I really would like to be able to