1.I've sent email to dojo-interest@ 2.http://dojotoolkit.org/ forum keeps silence.
Maybe my problems have different solutions and I'm trying to solve in the wrong way? I've spent approximately 2 business days and nothing has been found. Jim Kiley wrote: > > What did the dojo mailing list [1] [2] recommend? > > jk > [1] [EMAIL PROTECTED] > [2] http://dojotoolkit.org/* > * > On Wed, Jul 30, 2008 at 8:57 AM, holod <[EMAIL PROTECTED]> wrote: > >> >> I use dojo anchor widget (<s:a/>). >> It successfully gets response in json from server, but I have several >> problems accessing widget, that published a topic. >> Please, see my code: >> dojo.event.topic.subscribe("/after", function(data, request, widget){ >> alert('inside a topic event. after request'); >> //data : text returned from request(the html) >> //request: XMLHttpRequest object >> //widget: widget that published the topic >> }); >> >> Problems: >> 1. Can't change data value. If I use inside dojo.event.topic.subscribe: >> data = "this my new data!"; >> alert("This is my new response from server: " + data); >> >> alert shows, that data value was changed, >> but targets of dojo anchor get previous value (why???). >> 2.I can't get widget properties: id of widget or targets. That's >> terrible, >> I >> need them very much. I've dumped the object widget, but there are no >> fields >> like id or targets. >> -- >> View this message in context: >> http://www.nabble.com/dojo-anchor%3A-get-widget-id-and-targets-attributes-inside-subscribed-topic--tp18732617p18732617.html >> Sent from the Struts - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > Jim Kiley > Technical Consultant | Summa > [p] 412.258.3346 [m] 412.445.1729 > http://www.summa-tech.com > > -- View this message in context: http://www.nabble.com/dojo-anchor%3A-get-widget-id-and-targets-attributes-inside-subscribed-topic--tp18732617p18733244.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]