Changeset 508

Show
Ignore:
Timestamp:
08/05/07 15:33:05 (1 year ago)
Author:
ian
Message:

Basically, the new Ext 1.1 uses YUI's 'disableCaching' feature so that IE won't return stale JSON results. They do this by always including a bogus parameter called _dc in the JSON request, set to the current time, so that each JSON request will be unique and never trigger IE's caching. Other browsers just don't cache JSON so it's not a problem. Anyways, so most JSON queries are coming in now with this extra parameter, and TG was throwing an 'unexpected parameter' exception, which we turn off by setting tg.strict_parameters to False.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • pagoda/trunk/TestProject/dev.cfg

    r395 r508  
    2121# Set to True if you'd like to abort execution if a controller gets an 
    2222# unexpected parameter. False by default 
    23 tg.strict_parameters = True 
     23tg.strict_parameters = False # needs to ignore YUI's _dc JSON parameter! 
    2424 
    2525# LOGGING 

Log in as guest/pagoda to create tickets