To fix this, we are trying to upgrade our dojo release version to 1.10 (currently 1.5.2). The upgrade worked for all the dojo/dijit objects that are instantiated directly in our code (e.g. new dijit.ProgressBar()). However on the forms using programmatic creation of dijits, the integration doesn't work: the form elements don't have any dojo styling applied, as if the parser had not found them.
We have also checked the most recent release of ZF1, but they don't seem to integrate the latest versions of Dojo.
So are there any changes in the way Dojo parses the pages in recent versions, and that should be modified also in the ZF Dojo library?