Posted by Gaurav Vaish on 15th November 2009
Dwt has been updated to the following:
- It now uses Git
- Updated to GWT 1.7 with Eclipse plug-in (I currently use Galileo)
- Updated to Dojo 1.3.2
Migrated completed a few minutes ago.
My current target is to implement the Dijit “Button” widget ASAP.
Wish me luck! 
Posted in Updates, Widget, mastergaurav | No Comments »
Posted by Gaurav Vaish on 16th October 2008
No no… don’t think that Dwt is dead just because there seems no visible activity for last two months.
In fact, I just got so busy that there was hardly any time to look into Dwt. Can’t help, I’m not 100%-time into Dwt.
Anyway… that was recent past.
Ok… now coming to the rebirth of Dwt - that I don’t think should happen again, at least in near future, here are the latest updates:
- Focus continues to have on the core design, for the moment, to ensure that we do not have half-cooked or uncooked design.
- Refactoring of dijit.Widget class: It does not use several class-level fields to store styleClass, dir, lang etc. It uses a
HashMap<String, Object>, and additionally provides get/set apart from getXXX and setXXX.
- Added
JavaScriptObjectWrapper class since interconversion from JavaScriptObject to Java-Object was troublesome area in quite a few scenarios. The benefits will be visible at several places.
- Refactoring of
IJavaScriptFunction interface to use JavaScriptObjectWrapper class.
TemplatedWidget uses HashMap<String, List<Element>> for dojoAttachPoints and HashMap<String, HashMap<Integer, List<EventListener>>> as event-listeners store.
TemplatedWidget, at least for now - until we get the magical wand, does not support dojoAttachEvent.
- The immediate next step is get
TemplatedWidget back in shape because after these changes, the code breaks.
- Subsequently, implement the
replaceProperties method.
- And then, provide overloaded addEventListener methods as discussed in the previous entry.
I would be committing the code sometime tomorrow. It’s been quite hectic recently.
Catch up with lot of action…
Posted in Architecture, Dijit, Updates, mastergaurav | No Comments »