On Tue, 3 Apr 2007 at 17:56, Diez B. Roggisch wrote:
> On Tuesday 03 April 2007 17:46, George Sakkis wrote:
>> I have a SingleSelectField with default=-1 that displays correctly the
>> default item when I visit the respective url. However if I change the
>> value in the browser and hit reload, the selection stays as is, it
>> doesn't go back to the default. I tried to make default callable
>> (default=lambda:-1) but that didn't work either. Any clues ?
>
> I think that's browser behaviour. Or did the HTML source change in between?

I'm pretty sure you are right, Diez.  My Firefox 2.0 seems to retain
the value of the form field variables on refresh on all sites,
not just on my TG application.  But I haven't tested this, I've just
kind of "noticed" it, and been pleased in some cases and annoyed
in others :)

--David

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