How do I disable the Calendar and all its children in Javascript?

setting document.getElementById("form1:useYearField").disabled = trueonly disables the outer components. I can still enter text in the text field,and I can still popup the Calendar and select a day, albeit both are greyed out.
[254 byte] By [starwood4] at [2007-11-26 9:18:19]
# 1
you can add a div and add your calendar into the div, then you can change the div component's size and disabled value, but it is not a practical method you think?
blustery at 2007-7-6 23:47:11 > top of Java-index,Development Tools,Java Tools...
# 2
Could I put the Calendar in another component like a GridPanel and do disablethe GridPanel?
starwood4 at 2007-7-6 23:47:11 > top of Java-index,Development Tools,Java Tools...