ninja
ninja copied to clipboard
Ninja is a full stack web framework for Java. Rock solid, fast and super productive.
See: https://github.com/takari/takari-maven-plugin
Hi, While routing with multiple non-regex parameters works as expected, reverse routing the following route: ``` java router.GET().route("/u{userId: [0-9]*}/entries/{entryTitle}").with(EntryController.class, "display"); ``` with params userId=1, entryTitle="title" produces: ``` java "/u1?entryTitle=title" ```
Ninja version: 5.1.0 OS: Windows 8.1 64bits I have a simple tamplate (from the default archetype) and I put this in the index.ftl.html : ``` ${lang} ``` `mvn compile` and...
Currently Ninja.java contains methods that generate default results. But the scope of Ninja.java is actually different (it's more a lifecycle of request / framework class). We should fix that and...
While digging into Ninja's dependencies for my final assembly, I was trying to figure out why I had roughly 30MB of libs. After digging into ninja-core's dependencies, I discovered two...
I just try in prod to put a wrong variable in template like ${test123}. It throw an error on log which is : freemarker.core.InvalidReferenceException: The following has evaluated to null...
Like in play1 or in django: csrf https://docs.djangoproject.com/en/dev/ref/contrib/csrf/#how-csrf-works => a form must have a token that can be validated
I searched but didn't find anything that can give us that. This is a real need for emailing in a multi language application using html email. Same request here :...
I think if we changed the implementation of RouteBuilder `route` to append every invocation to the previous call you can build complex routes ` RouteBuilder userRouter = router.route('/user'); userRouter.GET().route('/login') userRouter.GET().route('/logout')
Current error message is not really good: Only one parameter may be deserialised as the body controllers It would be better to list potential sources of errors and give examples....