Reply To: Functionality in annotation configuration

Splash Forums Rewrite Users Functionality in annotation configuration Reply To: Functionality in annotation configuration

#26345

Hey,

no, there is currently no way to specify multiple joins on a single class using annotations. Providing something like this would make many things much more complicated. For example, to which join would a @Parameter annotation refer? And to be honest, I think it is bad practice to have multiple joins on a single class as this typically shows that your bean violates the single responsibility principle.

Regarding inbound vs outbound. These are two different rewrite types. Inbound rewriting modifies the URL which is sent by the client to request a resource on the server. Outbound rewriting modifies URLs that are written to the HTML page by the server. A join is essentially an inbound AND and outbound rule.

You can have a look at slides 18 – 20 of this presentation for a visualization:

The Navigate class is just a a convenience class which helps to build standard JSF outcome strings. You are not forced to use it, but it makes it a little bit easier.