HI, I am learning struts 2 with Tiles 2 and the word "topic" shows up very frequently... What is a topic?
for example:
The sx:a tag (specifically the ajax a template) and the div tag support an ajax event system, providing the ability to broadcast events to topics. You can specify the topics to listen to using a comma separated list in the listenTopics attribute. What this means is that when a topic is published, usually through the ajax a template, the URL specified in the href attribute will be re-requested.
<sx:div theme="ajax" id="weather" href="http://www.weather.com/weather?zip=97239"
loadingText="Loading weather information..."
errorText="Unable to contact weather server"
listenTopics="weather_topic,some_topic">Placeholder...
</sx:div>
<sx:a id="link1"
theme="ajax"
href="refreshWeather.action"
notifyTopics="weather_topic,other_topic"
errorText="An Error ocurred">Refresh</sx:a>