Jorge Godoy <[EMAIL PROTECTED]> writes:
> And other compound widgets all create the validator for their inner widgets at
> "definition" time, so I still have no idea of how to say that I *need* an
> UnicodeCol for the text field widget that is inside the compound widget
> AutoCompleteField.
>
> I also need to say that this text field *can't* be empty in some of the forms
> where I have AutoCompleteFields (and this imply in passing a CSS class for
> visual feedback to the user).
The relevant part of the generated HTML is:
<INPUT ID="form_metodologia_text" TYPE="text" NAME="metodologia.text"
VALUE="Cromatografia gasosa" CLASS="textfield">
Since validator act on 'name' and the LHS of a keyword can't be an expression,
I believe that this is the problem. But everything that I tried passing
either with attrs or options to this widget, trying to modify the text field
gets ignored...
--
Jorge Godoy <[EMAIL PROTECTED]>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---