Shredzone Commons: View

Shredzone Commons: Enhanced Spring Views

License

License

GNU Lesser General Public License Version 3
GroupId

GroupId

org.shredzone.commons
ArtifactId

ArtifactId

commons-view
Last Version

Last Version

1.4
Release Date

Release Date

Type

Type

jar
Description

Description

Shredzone Commons: View
Shredzone Commons: Enhanced Spring Views
Project URL

Project URL

http://commons.shredzone.org
Source Code Management

Source Code Management

https://github.com/shred/commons-view/

Download commons-view

How to add to project

<!-- https://jarcasting.com/artifacts/org.shredzone.commons/commons-view/ -->
<dependency>
    <groupId>org.shredzone.commons</groupId>
    <artifactId>commons-view</artifactId>
    <version>1.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.shredzone.commons/commons-view/
implementation 'org.shredzone.commons:commons-view:1.4'
// https://jarcasting.com/artifacts/org.shredzone.commons/commons-view/
implementation ("org.shredzone.commons:commons-view:1.4")
'org.shredzone.commons:commons-view:jar:1.4'
<dependency org="org.shredzone.commons" name="commons-view" rev="1.4">
  <artifact name="commons-view" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.shredzone.commons', module='commons-view', version='1.4')
)
libraryDependencies += "org.shredzone.commons" % "commons-view" % "1.4"
[org.shredzone.commons/commons-view "1.4"]

Dependencies

compile (7)

Group / Artifact Type Version
javax.annotation : javax.annotation-api jar 1.3.2
org.springframework : spring-core jar [4.1.0.RELEASE,)
org.springframework : spring-context jar [4.1.0.RELEASE,)
org.springframework : spring-expression jar [4.1.0.RELEASE,)
org.springframework : spring-web jar [4.1.0.RELEASE,)
org.springframework : spring-webmvc jar [4.1.0.RELEASE,)
org.slf4j : slf4j-api jar [1.7.0,)

provided (2)

Group / Artifact Type Version
com.google.code.findbugs : jsr305 jar 3.0.2
javax.servlet : javax.servlet-api jar 3.1.0

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

commons-view build status maven central

commons-view is a micro framework for parsing URLs, finding the appropriate view handlers, and for creating links to views.

Basically it is comparable to Spring's MVC, but allows some more features like URL wildcards and link generation.

This software is part of the Shredzone Commons.

Features

  • Map views to URLs just by using annotations
  • Use placeholders within URLs
  • Pass in URL placeholders and request parameters as method parameters, type conversion included
  • Add Spring converters and e.g. pass in an entity just by its ID
  • Generate a link just by passing in its parameter values
  • Requires Java 8 (up to v1.0: Java 6)

Documentation

See the online documentation for examples.

Contribute

License

commons-view is open source software. The source code is distributed under the terms of GNU Lesser General Public License Version 3.

Versions

Version
1.4
1.3
1.2
1.1
1.0