I want to make a little Webstuff with Clojure. Wanted to use Sandbar
formes and looked at the blogpost
http://formpluslogic.blogspot.com/2010/09/taming-html-forms-with-clojure.html.
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 [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en