Reply To: @Parameter and null-values

Splash Forums Rewrite Users @Parameter and null-values Reply To: @Parameter and null-values


Hey Reinhard,

sorry for the late reply. I’ve a comment regarding one of your latest posts. You wrote that you cannot use Navigate any more if you don’t use annotations for configuration. That’s not exactly true. Instead of passing the class you can also pass a string in. So something like this should work:

public Navigate openCustomer() {
    return"/faces/customer.xhtml").with("customerId", customerId);

Not so nice like passing in the class but it is simple compared to string concatenation. 🙂