rishson/dojoEnterpriseApp — Issue #5: _Widget TOPIC_NAMESPACE should use this.declaredClass
Author: rishson
Created: 2011-11-04 15:57:54+00:00
State: open
Labels: enhancement

Currently, you have to create the full path of a topic in a widget.
_Widget should do:

this.TOPIC_NAMESPACE = this.declaredClass - but with . replaces with / and a leading /

Then _Widget could have an addTopic method

this.addTopic(someTopic);

would create an addition to this.pubList in the form [this.TOPIC_NAMESPACE][someTopic]