"Ed Singleton" <[EMAIL PROTECTED]> writes:

> You need to have some options in your options so that it can guess
> what validator to use.
>
> You can put in some dummy options and override them later, or put in
> the options you will be using.
>
> For example changing this line works:
>
> options=[(1,'One'), (2,'Two')]

Even though this solves the problem this should be considered a bug, IMHO. 

The guessing should only occur when there's no validator specified.  Here he
said explicitly to use a validators.Int() validator, so there's no need to
guess anything.


Also, IMHO, a better workaround would be specifying a default validator at the
widget instantiation and then overriding it at the validator schema. 


-- 
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to