Giter Site home page Giter Site logo

spring-rythm's Introduction

Rythm Template Engine

APL v2 Maven Central Javadocs Get Support on StackOverflow

A "Razor" like, rich featured, high performance and easy to use Java template engine

Rythm Engine Project

Join the chat at https://gitter.im/greenlaw110/Rythm

We are looking for people to join us on this project. Please contact Green Luo via [email protected]

Links

Integrations

Prerequisites

Java JDK >= Version 7

Distribution

Available at Maven Central see

http://mvnrepository.com/artifact/org.rythmengine/rythm-engine

Maven dependency:

<!-- http://mvnrepository.com/artifact/org.rythmengine/rythm-engine -->
<dependency>
    <groupId>org.rythmengine</groupId>
    <artifactId>rythm-engine</artifactId>
    <version>1.3.0</version>
</dependency>

How to build

git clone https://github.com/rythmengine/rythmengine
cd rythmengine
mvn install

if some of the tests should fail you might want to file an issue and try

mvn install -DskipTests=true

Testing

mvn test
...
Tests run: 254, Failures: 0, Errors: 0, Skipped: 3

Development

There are several options for development environments you can use to contribute to the development of the Rythm Engine Project:

Version history

See the change log

spring-rythm's People

Contributors

digital-chaos avatar greenlaw110 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

spring-rythm's Issues

integration for spring 4

I integrate this to spring mvc 4.1 successfully today.
And there need some changing for migrating to spring 4.1 from 3.*, because one new method [ configurePathMatch ] has been added to interface WebMvcConfigurer need be implemented by RythmConfigure class in [spring-rythm] project.
So there may be a new branch for spring since 4.0.3.
I just add a simple implementation like below:
@OverRide
public void configurePathMatch(PathMatchConfigurer configurer) {
}

Allow SessionManaager support ping request

for ping request, it does not set the new timestamp value to session cookie based on current system timestamp and the expiration time. Instead it shall set the timestamp value to the existing timestamp value. For ping request it shall not create new session if existing timestamp is expired as well

@i18n Throw An Exception

The following exception:

Generic Rythm Exception: No message found under code 'mapping.name' for locale 'en'.

when I try to use @i18n("mapping.name")

Content inside messages.properties:

mapping.addr1=Address1
mapping.addr2=Address2
mapping.addr3=Address3
mapping.email=Email
mapping.fax=FAX
mapping.lot=Lot
mapping.mobile=Mobile
mapping.name=Name
mapping.ownerName=Owner Name
mapping.pcode=Post Code
mapping.phone1=Phone1
mapping.phone2=Phone2
mapping.state=State
mapping.streetNo=Street Number
mapping.streetName=Street Name
mapping.suburb=Suburb
mapping.tenantEmail=Tenant Email
mapping.tenantMobile=Tenant Mobile
mapping.tenantName=Tenant Name
mapping.tenantPhone1=Tenant Phone1
mapping.tenantPhone2=Tenant Phone2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.