activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From didyeah971 <didyeah...@yahoo.fr>
Subject Re: Ajax Help
Date Wed, 28 Mar 2007 08:15:38 GMT

I did, and i i had some problems i posted in a subject named " error in
prototype.js".
I copied it there.

It's the third message i've been posting, i hope this one will be answered.
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 



James.Strachan wrote:
> 
> For efficiently use Jetty. It'd start with the working web demo and go
> from there.
> 
> On 3/22/07, didyeah971 <didyeah971@yahoo.fr> wrote:
>>
>> Hi,
>> i am trying to implement my own publisher/suscriber using Ajax, although
>> i
>> am not a web developer.
>> So i put the publisher.html and suscriber.html in the activemq-web-demo/
>> folder and ran jetty, but o didn't work.
>>
>> Do i have configure jetty and create and "alias" as i would do for Apache
>> Server.
>>
>> Do we have to use Jetty as a server to send and receive the JMS message
>> or
>> there are other possibilities, like an Apache plugin ?
>>
>> Does each client has to own his server in order to publish/suscribe to a
>> topic ?
>>
>> I admit that I am a little lost ...
>> --
>> View this message in context:
>> http://www.nabble.com/Ajax-Help-tf3448524s2354.html#a9617893
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> 
> James
> -------
> http://radio.weblogs.com/0112098/
> 
> 

-- 
View this message in context: http://www.nabble.com/Ajax-Help-tf3448524s2354.html#a9708826
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message