rocker
rocker copied to clipboard
Java 8 optimized, memory efficient, speedy template engine producing statically typed, plain java objects
Hi, I have an error stating: > With block invalid: multiple equals symbols found for assignment String href = "/abc?x=y" With this code: ``` @with(String href = "/abc?x=y") { }...
- plugin version: 1.3.0 - rocker compiler version: 1.3.0 - java: 1.8 - pom.xml ```xml com.fizzed rocker-maven-plugin 1.3.0 ./src/main/resources/rockerview ./src/main/java/rockerview ./src/main/java/rockerview generate-rocker-templates generate-sources generate ``` - I have templates in...
https://github.blog/2020-06-01-keep-all-your-packages-up-to-date-with-dependabot/
Hi, I'm very impressed about the performance of rocker but another thing is important to become a great template engine - IDE support.. Do you have a plugin for any...
Given this class layout: ```java public class Foo {} public class FooList extends List {} ``` then if I have a rocker template: ``` @import Foo @import FooList @args(FooList list)...
added Micronaut Framework (successor of Groovy & Grails Java frameworks) integration link, For general info, see: https://micronaut.io
Currently generated source classes for rocker templates include something like ``` static { PlainTextUnloadedClassLoader loader = PlainTextUnloadedClassLoader.tryLoad(gradleProperties.class.getClassLoader(), gradleProperties.class.getName() + "$PlainText", "UTF-8"); PLAIN_TEXT_0_0 = loader.tryGet("PLAIN_TEXT_0_0"); PLAIN_TEXT_1_0 = loader.tryGet("PLAIN_TEXT_1_0"); PLAIN_TEXT_2_0 = loader.tryGet("PLAIN_TEXT_2_0");...
I'm using Rocker to render files of various extensions and after some reading of the source, I found out the files have to end in `.raw` or `.html`. I couldn't...
Add note of Micronaut integration
I am having a common situation where a page template is using a common layout template for generating a html page. The page template example: ``` @args(MyObj obj, MyError error)...