#654: [PATCH] Add hidden field to autocomplete
-------------------------+--------------------------------------------------
Reporter: xentac | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by roger.demetrescu):
Hahaha... I understand Jorge Godoy.. in the beginning I thought you were a
women. :)
Well, once we are having this conversation, let me ask you another
question about widgets. If wou want to go to ML that's fine to me...
Id like to have something like 'fields' from Form's class, but with the
possibility of mixing Widgets and strings, integers, etc. The logic would
be something like:
{{{
if thething is Widget:
render the widget
else:
render the str(thething)
}}}
Is there an easy way of doing that ? Is it a wrong idea ? My first thought
was allowing the Tab class to do things like:
{{{
t = Tabber(tabs = [
Tab(title="hello", content="just a string"),
Tab(title="world", content=TextField("name"))
],
defaulttab = "world")
}}}
Thanks again for been patient... :)
[]s
Roger
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/654>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---