Reply To: Thoughts after migrating from Rewrite v1 to v2

Splash Forums Rewrite Users Thoughts after migrating from Rewrite v1 to v2 Reply To: Thoughts after migrating from Rewrite v1 to v2

#23986

fabmars
Participant

11) Ah another change I spotted from v1 to v2:
PhaseBinding.to(El.property(expression, MyConverter.class));
had to become:
PhaseBinding.to(El.property(expression)).convertedBy(MyConverter.SINGLETON);

I have a question too: how can I retrieve the “pretty” URL eventually displayed in the navigation bar? I need it for SEO purposes.
For instance <meta property=”og:url” content=”#{request.requestURL}” /> will write the actual .jsf URL to the meta content.

  • This reply was modified 8 years, 8 months ago by  fabmars.