magari perché non esiste nessun metodo put... semmai setAttribute. Dovresti programmare con le API aperte sotto mano.