[sandbar "0.3.0-SNAPSHOT"] is all you need. That is the latest version
and includes everything including the defform code you are looking
for.


On Oct 21, 5:25 am, nickikt <nick...@gmail.com> wrote:
> I can find  [sandbar.core "0.3.1"], [sandbar/sandbar-session "0.2.5"]
> and other on clojars. I would rather work with the new versions (not
> start a poject with outdated dependencies). Witch of the jars do I
> need to do something like your defform example in the new version?
>
> On Oct 21, 2:23 am, Brenton <bashw...@gmail.com> wrote:
>
> > Nickikt ,
>
> > All of the stuff covered in that blog post is in Sandbar 0.3.0-
> > SNAPSHOT. You will need to add [sandbar "0.3.0-SNAPSHOT"] as a
> > dependency.
>
> > There are also lots of working examples in the project on GitHub.
>
> >http://github.com/brentonashworth/sandbar/tree/master/src/sandbar/exa...
>
> > Specifically, here is one for creating forms with defform:
>
> >http://github.com/brentonashworth/sandbar/blob/master/src/sandbar/exa...
>
> > Hope this helps,
>
> > Brenton
>
> > On Oct 20, 3:38 pm, nickikt <nick...@gmail.com> wrote:
>
> > > I want to make a little Webstuff with Clojure. Wanted to use Sandbar
> > > formes and looked at the 
> > > blogposthttp://formpluslogic.blogspot.com/2010/09/taming-html-forms-with-cloj....
>
> > > There is kind of a mismatch between blog, implementation and
> > > documentation.
>
> > > For the Blogpost i need something like this.
>
> > > (ns TimeParser.core
> > >   (:use [compojure.core :only [defroutes GET]]
> > >             [sandbar.core]
> > >             [sandbar.stateful-session :only [wrap-stateful-session
> > >                                                                  set-
> > > flash-value!]]
> > >         [sandbar.validation :only [build-validator
> > >                                                  non-empty-string
> > >                                                  add-validation-
> > > error]])
> > >   (:require [compojure.route :as route]
> > >                  [appengine-magic.core :as ae]
> > >                  [sandbar.forms :as forms]))
>
> > > Here is my project.clj:
>
> > > (defproject TimeParser "1.0.0 Snapshot"
> > >   :description "A simple website that parses a SAP file"
> > >   :dependencies [[org.clojure/clojure "1.2.0"]
> > >                              [org.clojure/clojure-contrib "1.2.0"]
> > >                              [compojure "0.5.2"]
> > >                              [hiccup "0.2.6"]
> > >                              [sandbar/sandbar-core "0.3.1"]
> > >                              [sandbar/sandbar-session "0.2.5"]] ;(i
> > > didn't find anymore sandbar stuff on clojars)
> > >   :dev-dependencies [[appengine-magic "0.2.0"]
> > >                                      [swank-clojure "1.2.1"]
> > >                                      [clj-stacktrace "0.2.0"]])
>
> > > Does somebody know how the project.clj needs to look like (or if I
> > > need to change the ns stuff)
>
> > > Thx Nickikt
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to