>
>  (with-javascript
>                 (ps:ps*
>                  `(progn
>                     (defvar wms
>                       ((ps:@ OpenLayers 'Layer 'WMS)
>                        "OpenLayers WMS"
>                        "http://labs.metacarta.com/wms/vmap0";
>                        (ps:create :layers 'basic)))
>                     ((ps:@ map 'addlayer) wms)))))
>
> But all i get is the text
>
> </script>
>

That indicates that the result of with-javascript is being returned. Perhaps
you want ps:ps (no *) or the send-script function/macro?

-- 
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en.

Reply via email to