[hunchentoot-devel] ht-simple-ajax

Haris fbogdanovic at xnet.hr
Sun Apr 3 10:23:53 UTC 2011


Hi.

I hope I can ask questions about ht-simple-ajax here. If not, please tell me 
where I can.
I'm trying out ht-simple-ajax but it doesn't work. I have:

(defparameter *ajax-processor*
  (make-instance 'ajax-processor :server-uri "/ajax"))

(defun-ajax say-hi (name) (*ajax-processor*)
  (concatenate 'string "Hi " name))

(setq *dispatch-table* (list 'dispatch-easy-handlers
                             (create-ajax-dispatcher *ajax-processor*)))

And then I go to:
http://localhost/ajax/SAY-HI?name=Martin
but nothing happens ?

Thanks 





More information about the Tbnl-devel mailing list