Skip to content
This repository

Clojure script processor for the Spring Surf extension

tree: e29b05264f

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 README.md Added Travis-CI build status; March 05, 2012
Octocat-spinner-32 pom.xml
README.md

Clojure script processor for Spring Surf

Spring Surf is a view composition framework for Spring MVC that plugs into your existing Spring applications. It provides a scriptable and content-centric approach to building web applications.

This extension provides a Clojure script processor that makes it possible to implement Clojure controllers for your Spring Surf web scripts.

Usage

In order to bootstrap the Clojure script processor you just:

<import resource="classpath:org/springframework/extensions/clj/webscripts/clojure-webscripts-context.xml" />`

in your application context.

Your clojure web scripts must return an instance of a concrete WebScript implementation. Its run method will be executed by the processor and the result passed to the view processor. Look at the test webscripts if your're looking for an example or a starting point.

Project info

Build Status

Something went wrong with that request. Please try again.