Publishing to a Topic
After completing this task, thisState will subscribe
to the /cb/getState topic.
-
Open index.jsp in a source editor pane.
-
Add a subscribe attribute to the thisState combobox and set it to the topic, /cb/getState:
<a:widget id="thisState"
name="dojo.combobox"
publish="/cb/getState"
value="${StateBean.states}" />
-
Save index.jsp.