Stéphane Épardaud
Stéphane Épardaud
If we ever need a session, I'd implement a signed session on the client via a cookie. A bit like the current Flash scope. But a shopping card is a...
> throw new RedirectException(Todos::todos, getValidationErrors()); is what: `todos()` does, but with lots more boilerplate ;) I understand your initial reaction about this, but give the current redirect feature a try,...
That's fine too, but naive in most scenarios, because quite often, there's more calls to `validationFailed()` as validation rules are added as new conditions. Also, it doesn't actually solve their...
Qute already has https://quarkus.io/guides/qute-reference#type-safe-message-bundles so we have to check if that is what we want or make it simpler if it has to.
Ideas for improving type-safe messages/templates, and grouping them together. Using records: ```java interface View {} public class Application extends Controller { // This defines a template record Index(String name) implements...
The reason why ATM my application has all keys prefixed with `views.Controller.method.` is that I define them all in a single `messages.properties` file. But this makes them hard to use...
> Hm, the problem is that qute does not have a notion of view and controllers Well, it does for nested `@CheckedTemplate` classes ;) So it would be a regular...
Call it what you want, as long as the convention is the same, it works the same ;)
I was thinking we could first look up the `msg:` namespace and if it doesn't exist, lookup `msg_Application_index:`.
Because it needs work to get this done, is why :)