Kevin Horn, el 21 de febrero a las 22:59 me escribiste:
> 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. :)

I'm sorry, I understood that what you suggested was to put the focus to a
fixed element id to the TableForm and then put that element id to the form
element I want to focus on each TableForm instance.

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
 .------------------------------------------------------------------------,
  \  GPG: 5F5A8D05 // F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05 /
   '--------------------------------------------------------------------'
For me to ask a woman out, I've got to get into a mental state like the karate
guys before they break the bricks.
        -- George Constanza

--~--~---------~--~----~------------~-------~--~----~
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