Hi,
The code below goes on controllers.py.
This is an example piece from tg-admin toolbox -> Widgets -> Sample.
Dont' know how to really use this.
Is there a simple example template where we can plug this and learn
Thank you
Raju
----------------------------
class SingleSelectFieldDesc(CoreWD):
name = "Single Select Field"
for_widget = SingleSelectField("your_single_select_field",
options=[(1, "Python"),
(2, "Java"),
(3, "Pascal"),
(4, "Ruby")],
default=2)
--------------------------
--
Hemanttharaju Subbanna
408-857-9414(cell)