This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-23
Channels
- # admin-announcements (1)
- # announcements (1)
- # beginners (222)
- # boot (210)
- # cider (26)
- # cljs-dev (50)
- # cljsrn (19)
- # clojure (243)
- # clojure-art (12)
- # clojure-finland (1)
- # clojure-poland (43)
- # clojure-russia (46)
- # clojure-sg (13)
- # clojurescript (60)
- # core-async (14)
- # css (11)
- # datomic (9)
- # devcards (9)
- # dirac (2)
- # editors (13)
- # emacs (5)
- # euroclojure (1)
- # events (3)
- # hoplon (76)
- # immutant (10)
- # job (1)
- # jobs (2)
- # keechma (1)
- # ldnclj (33)
- # lein-figwheel (1)
- # leiningen (20)
- # luminus (26)
- # mount (31)
- # om (105)
- # onyx (56)
- # parinfer (29)
- # perun (12)
- # proton (1)
- # re-frame (14)
- # reagent (5)
- # sydney (1)
- # yada (15)
i have some hoplon in an iframe in another hoplon app. is there any way to get the iframe code to trigger something in the parent?
I'm having some trouble understanding mkremote
in Castra. The documentation says that there's an optional :url
keyword to specify a POST address, but I don't think I'm formatting the function properly, and I can't find any examples of it online. How do I use this :url
keyword?
I must still be doing something wrong. I believe that the request is being sent to access the get-record
RPC function in my handler on the server, but it continually returns a 403 Forbidden
error. Should I be defining a POST route in my handler? I tried defining one at /
, but I wasn't sure what to put in it so I just stuck a {:status 200}
in there hoping it would work. It didn't. :P
@alandipert: defmethod do! and with-init! did the job
@micha: Okay, well I'm still getting a 403 Forbidden
error regardless of if the route is there or not.
Maybe my mkremote
is wrong?
(def url " ")
(def get-record
(cas/mkremote 'myproject.handler/get-record record error loading
{:url url}))
Interesting, looks like its returning <h1>Invalid anti-forgery token</h1>
for some reason
Okay, I was using wrap-defaults
from a tutorial which I think was causing the issue, because I'm no longer getting a 403
error. It's 404
now, though, with Not found
as the response
@micha: Okay, I'll try that at some point, since I have to go for now. Thank you for all the help!
all of the jquery things i know of work with references to jquery objects instead of ids
but then if you're going to coordinate around the id you might as well coordinate around a cell
yes, the thing is, one has the tendency to do things the way they were learned, even though the "alternative way" is known and understood