we are trying to refactor an JSP/XSLT application to JSF. We use a CMS for content management. Technologies : JSF 2.0 using Mojarra, PrimeFaces 2.2.1 and Tomcat 6.29 The org
This is cross posted on: http://ocpsoft.com/support/topic/how-to-reproduce-specific-friendly-url (Please follow up there.)
Can i reproduce the FURL with prettyfaces or should i implemented by mysefl (like explains in this article)?
I would definitely recommend PrettyFaces. You end up with less complicated code and configuration. The same is also mentioned in the top of the linked article.
And with h:link, i don't see actionListener or action attribute, so how i can update my context?
The <h:link>
only accepts a navigation outcome, not an URL. Use <h:outputLink>
instead.
<h:outputLink value="firstSite/aChannel/aSubChannel">A sub channel</h:outputLink>
As to invoking actions on GET requests, use the constructor or @PostConstruct
of the bean which is associated with the view.