Are you using SQLObject transactions? If so, that may be where your problem is:
http://trac.turbogears.org/turbogears/wiki/SqlobjectCaching
Kevin
On 12/11/05, Simon G <[EMAIL PROTECTED]> wrote:
>
> Hi, am using formencode's OneOf Validator in my TG expose.
>
> Even though I have - "class sqlmeta: cacheValues = False" in the
> appropriate model
> (class called Attribute) , I still find that when a new data value has
> been added via a different page, the below code in my TG expose is
> still working from an old instance of data from that class/table thus
> not accepting the valid new data value:
>
> validators={"attr": validators.OneOf([str(x.id) for x in
> Attribute.select()]) }
>
> Any thoughts?
>
>
--
Kevin Dangoor
Author of the Zesty News RSS newsreader
email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com