IUI - Don't cache or store form values
07 Jul 2010 à 13:43 par itimeteo
By default iUI will store form values into cache in order to redisplay them the next time the form is accessed. Boring by this ?
At the begining of storeFormTagValue function, I have added some lines :
And then in my common script I have added :
Fil des commentaires
| 1. |
function storeFormTagValue(tag)
|
| 2. |
{
|
| 3. |
var autocomplete = window.iui_ext.autocomplete;
|
| 4. |
if ((autocomplete != undefined && autocomplete == false)) {
|
| 5. |
return;
|
| 6. |
}
|
| 7. | |
| 8. |
// [...]
|
And then in my common script I have added :
| 1. |
window.iui_ext.autocomplete = false;
|
Fil des commentaires
Pas de commentaire pour le moment.