johnf wrote:
> On Wednesday 29 April 2009 09:46:22 am Ed Leafe wrote:
>> On Apr 29, 2009, at 11:42 AM, John Fabiani wrote:
>>> +
>>> +   def flushValue(self,*args, **kwargs):
>>> +           self.super(*args,**kwargs)
>>> +
>>      What is this override for?
>>
>>
>> -- Ed Leafe
> 
> When selecting a value from the calendar the value was being set in the 
> control but the bizobj.isChanged() was returning false - even though the 
> value was changed.  Because the bizobj did not see the value as changed the 
> data was not being saved.  
> 
> I'm sure there is some deeper problem because method setDate() does in fact 
> use "self.Value = something"  which is suppose to call flushValue.  The 
> problem is it does not.  The flushValue is called when the calendar is opened 
> and not when the value selected is returned.  In discussion with Paul it was 
> decided that for now we would force the issue.  

But you don't need that override anymore: you were only using it to see when it 
was 
being called.

Paul


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to