[EMAIL PROTECTED] writes:

> 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 :)

I love this behavior.  

When I want to reload the full page to its defaults I use CTRL-R, otherwise I
use F5 to reload it without cleaning my input or going back to default values
in the fields I've already changed.

I believe that with IE there's a similar behavior, 'cause I remember a user
doing the same to refresh new options on select fields after adding items on
another window / tab (it depends on IE's version: 6.X has no tabs, 7.0 copied
it from Opera / Gecko-based browsers ;-)). 


Be seeing you,
-- 
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