Stéphane Épardaud

Results 666 comments of Stéphane Épardaud

Frankly, the entire class in an embarrassment of boilerplate: ```java @ApplicationScoped public class Startup { @Transactional public void start(@Observes StartupEvent evt) { if(LaunchMode.current() == LaunchMode.DEVELOPMENT) { something(); } } }...

I much prefer code for test/seed data than `imports.sql` because it's easier to maintain and refactor.

Well, I couldn't think of anything better than `rest`. What did you have in mind?

Perhaps you're in need of Htmx or Turbo?

Hi, Thanks for the PR. I've merged it, but changed how the fix works to make `error.html` pull the error message from `Validation` just like `ifError.html` and not the flash...

You should rather try: ```java public class Application extends Controller { @CheckedTemplates public static class Templates { public static native TemplateInstance index(); } @Path("/") public TemplateInstance index(){ return Templates.index(); }...

You can, and I can tell you how, but what's the point?

This should use `resources/templates/index.html`, but I'm not sure why you'd want to go against the recommended way of doing things in Renarde? ```java @CheckedTemplates public static class Templates { public...

Well yeah, don't declare it nested if you want it as toplevel.

> To have a home page containing menus, submenus, ... from where we can access the different parts of the application which are then managed by different templates/controlers (e.g resources/templates/claim,...