From 390db9229b2aaa0a6ca7a920e4901b581ba917e2 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 3 Apr 2019 22:39:03 +0200 Subject: Added fileview --- src/main/resources/compiled-views/files.java | 41 +++++++++++++++++----------- 1 file changed, 25 insertions(+), 16 deletions(-) (limited to 'src/main/resources/compiled-views/files.java') diff --git a/src/main/resources/compiled-views/files.java b/src/main/resources/compiled-views/files.java index 2c3f640..2643e92 100644 --- a/src/main/resources/compiled-views/files.java +++ b/src/main/resources/compiled-views/files.java @@ -1,4 +1,3 @@ - import com.fizzed.rocker.RenderingException; import com.fizzed.rocker.runtime.DefaultRockerTemplate; import com.fizzed.rocker.runtime.PlainTextUnloadedClassLoader; @@ -13,9 +12,6 @@ import java.util.ArrayList; @SuppressWarnings("unused") public class files extends com.fizzed.rocker.runtime.DefaultRockerModel { - // argument @ [1:2] - private ArrayList files; - static public com.fizzed.rocker.ContentType getContentType() { return com.fizzed.rocker.ContentType.HTML; } @@ -36,10 +32,8 @@ public class files extends com.fizzed.rocker.runtime.DefaultRockerModel { return new String[]{"files"}; } - static public files template(ArrayList files) { - return new files() - .files(files); - } + // argument @ [1:2] + private ArrayList files; public files files(ArrayList files) { this.files = files; @@ -50,6 +44,11 @@ public class files extends com.fizzed.rocker.runtime.DefaultRockerModel { return this.files; } + static public files template(ArrayList files) { + return new files() + .files(files); + } + @Override protected DefaultRockerTemplate buildTemplate() throws RenderingException { // optimized for performance (via rocker.optimize flag; no auto reloading) @@ -58,15 +57,18 @@ public class files extends com.fizzed.rocker.runtime.DefaultRockerModel { static public class Template extends com.fizzed.rocker.runtime.DefaultRockerTemplate { - //