[TYPO3-core] RFC: #11528: JS Error in Recycler

Steffen Kamper info at sk-typo3.de
Tue Jul 14 17:53:40 CEST 2009


Hi,

as there are other related issues in recycler which doesn't work i 
refactored the param method for the store.

This way was done:
there was a method "addParams" where the getparams where splitted and 
new params added to the store.
After chaning the url to the store the url is submitted, but the params 
don't affect the store params.

This is the way should used with a store:
For all params that should be persistent for each store.load() there is 
an object called baseParams.
You can override one of these params by the load call like
store.load({params:{start:14}});
or add it to baseParams to be persistent:
store.setBaseParam('name', value);

last is the one we need as any select or filter box should change the 
params persistent.

So attached is the refactored js for recycler, and i change it from FYI 
to RFC so test/review and voting is required.

vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 11528_v2.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090714/2cbdd68b/attachment-0001.txt 


More information about the TYPO3-team-core mailing list