calendar skin not set in form

Hi.
I’m using dhx_web as skin (dhx_web grass for dhtmlx_custom.css).
On form with calendar controls, the calendar skin is not set to dhx_web, but is defaulting to dhx_skyblue.
I am using compiled libraries and have used the dhtmlx.skin=“dhx_web”
Here is the path for the form images:
/UI/jsf/dhtmlxSuite/imgs/dhxform_dhx_web/dhxform_btns.gif
Here is the path for all of the calendar images:
/UI/jsf/dhtmlxSuite/imgs//dhtmlxcalendar_dhx_skyblue/bg_main.png

How do I fix this?

Code:

Hello

Try this:

myForm = new dhtmlXForm("myFormDiv"); myForm.setSkin("dhx_web"); myForm.loadStruct('testForm.xml', function(){ myForm.getCalendar(name).setSkin(...) });