Reply To: Yet another I18N approach

Splash Forums PrettyFaces Users Yet another I18N approach Reply To: Yet another I18N approach

#26193

zozan
Participant

Outbound rules with transposition cause NPE when using ui:composition in my pages so does join.

  .addRule()
             .when(Direction.isOutbound().and(Path.matches("/{path}.xhtml").withRequestBinding()))
             .perform(Substitute.with("/{lang}/{path}"))      
             .where("path").configuredBy(LocaleTransposition.bundle("bundles.text", "lang"))

Still testing and trying to figure out why…