I did, and i find it quite easy and reliable to send e simple text message. In the portofolio.js, the datas are retrieved from HTML document, if i understood. What i want to do is send datas from an XML files loaded thanks to XMLHTTPRequest. On the website, it's said that it is possible to send well formed XML, how ? What's more, what about the error from prototype.js, does is come from me ?
Thx Adrian Co wrote: > > Have you tried looking at the portfolio.js and chat.js in > activemq-web-demo? It might help you. > > didyeah971 wrote: >> Hi, >> I am posting this message one more time, because the error still occurs. >> I am triyin to send an xml file via the ajax client, it seems to be >> published on the topic, and well received too by the listener, by i >> cannot >> use the message i receive. >> the message.data contains a XMLDocument object, but i cannot handle it, >> using DOM methods. >> >> Otherwise, sometimes i have an error on the protype.js, raised by >> FireFox >> WebDeveloper Toolbar, at line 52: >> $A is not defined >> >> >> Function.prototype.bind = function() { >> var __method = this, args = $A(arguments), object = args.shift(); >> return function() { >> return __method.apply(object, args.concat($A(arguments))); Error >> } >> } >> >> So i have 2 questions : >> 1 ) How cand i handle the received message with DOM ? >> 2) Is the prototype.js error a bug or a it's caused by an error in my >> own >> script ? >> >> Thx for help... >> Did >> > > > -- View this message in context: http://www.nabble.com/Error-in-prototype.js-tf3486346s2354.html#a9750528 Sent from the ActiveMQ - User mailing list archive at Nabble.com.