AW: Notify topics in struts2.1.2

2008-06-18 Thread Jan Froehlich
Finally I found the matching chapter in the Dojo documentation. So for everybody's info and completion of this thread: You can pass parameters to topics with something like With that call you can access the properties, of the object passed to the notified function like dojo.event.top

AW: Notify topics in struts2.1.2

2008-06-18 Thread Jan Froehlich
Perfect, that solves most of the problems I had. Thank you!!! - but one thing is finally left. ;) When I subscribe to a topic with something like dojo.event.topic.subscribe("documentSelected", function documentSelected(doc) { alert(doc); }); then doc is a object. What kind of object is tha

AW: Notify topics in struts2.1.2

2008-06-18 Thread Jan Froehlich
Hi Musachy, thanks for that hint, I tried both, but if you say that it doesn't matter I might have another problem - it worked with neither solution. Do you think that should be enough to trigger that topic update?? Thanks in advance! Regards Jan Froehlich -Ursprüngliche Nachricht- V