Hola, aquí la solución. Es fácil.
selectnombre = SELECT(OPTGROUP(*opcions, _label="grupo"), _name="selNombre",
_id="selNombre",
_multiple="multiple")
Saludos!!
El lunes, 15 de febrero de 2010, 10:19:18 (UTC+1), hamdy.a.farag escribió:
>
> Hi
>
> I read this post
>
> http://groups.google.com/group/web2py/browse_thread/thread/f9967ef7151c5ae8/d0c47ff7a40e0dfc?lnk=gst&q=OPTGROUP#d0c47ff7a40e0dfc
>
> and I didn't find optgroup in html.py either
>
> so why not adding it since from time to time people may need it?
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.