Re: Sample Vaadin application in Clojure

2011-07-04 Thread Chas Emerick
On Jul 2, 2011, at 12:53 PM, Dmitry Gutov wrote: >> Is there any hope of getting rid of the servlet altogether, and >> somehow get a Ring handler to perform whatever Vaadin stuff that needs >> to be done on the server? > > Well, you could rewrite the servlet in Clojure... right? > Aside from tha

Re: Sample Vaadin application in Clojure

2011-07-02 Thread Anton Beloglazov
Hi Jason, How do you run the application? When I do lein run, I get the following exception: Exception in thread "main" java.lang.RuntimeException: java.lang.ClassNotFoundException: vaadin.Servlet, compiling:(vaadin/jetty.clj:20) at clojure.lang.Compiler.analyzeSeq(Compiler.java:6357) at cloju

Re: Sample Vaadin application in Clojure

2011-07-02 Thread Antonio Recio
The clj-vaadin project is wonderful, it is very useful for me. It has an example of making a tree with vaadin with 2 levels. Do you know how I can add a third and fourth level? (defn level2 [tree n1 n2] (reduce (fn [tree n2] (doto tree

Re: Sample Vaadin application in Clojure

2011-07-02 Thread Jason
you can try the following link https://github.com/hsenid-mobile/clj-vaadin it is a Clojure wrapper written for Vaadin. It's still in its initial stage :) You can check the implantation. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to thi

Re: Sample Vaadin application in Clojure

2011-07-02 Thread Dmitry Gutov
> Is there any hope of getting rid of the servlet altogether, and > somehow get a Ring handler to perform whatever Vaadin stuff that needs > to be done on the server? Well, you could rewrite the servlet in Clojure... right? Aside from that, I don't think so. Ring works on a much lower level of abs