Dojo 1.2 has a lot of great new features. There are two in dijit I'd like to (very briefly) mention:
The first is all the look-and-feel improvements. We've changed colors, margins, etc. to make things look better, and look/work more like users expect, and perhaps mainly we've fixed a bunch of visual glitches There were almost 100 things fixed with visual issues with the widgets.
The other change in 1.2 that I want to point out is the attr() support and the underlying changes to make that happen. You should now be able to set almost any widget attribute dynamically via the attr() method, even ones that you couldn't set before via any method... so this isn't just a change in method naming. The key to supporting this is to "liberate" any parameter-related code from postCreate() and move it into either custom setters (which are called automatically on creation) or into the widget's attributeMap.
attributeMap is now much more powerful than before, as it let's you control widget attributes that map to DOM node attributes (like the disabled flag on a button widget), or to DOM node innerHTML (like the title of a TitlePane), or to a CSS class (like the icon inside of a button). See my earlier post for details.
Bill
