On 2/21/07, Leandro Lucarella <[EMAIL PROTECTED]> wrote:
>
>
> And maybe, it could be a good feature to (optionally) add an option to the
> widget to get focus on page load (or to the form, something like
> TableForm(fields=[TextField(name="name"), TextField(name="age")],
> focus="name"). You can even have focus=True as a shortcut to focus the
> first TableForm widget or the first widget with a validation error. Just
> thinking out loud =)
>
>
The first part of this is basically what I was trying to suggest.  Create a
widget (descended from TableForm...maybe call it FocusTableForm?) that
accepts a parameter which tells the class where to put the focus.


Maybe I wasn't clear enough...it was pretty late. :)

Kevin Horn

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to