On Wednesday, August 12, 2015 at 4:39:45 AM UTC-3, Walter van der Laan wrote:
> What you see is correct. The input gives you a file requester and returns the 
> filename. You still need to write code to upload the file from the client to 
> the server. Here is a discussion on that topic: 
> http://stackoverflow.com/questions/26428394/multipart-form-data-support-in-clojurescript

Hi Walter,

Yes, I don't yet touch on code to upload the file. But It don't should return 
to me a absolute file from my computer ?

I think I should wrap this file field with a form, something like this:

(defcomponent upload-view [data owner]
  (render-state [this state]
                (dom/form
                 (dom/input #js {:type "file" :name "file"}))))

But when I do this, no form is showed

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to