JEE Filter is not being executed during <h:commandLink> request
- by c0d3x
Hi,
I am working on a JEE application with facelets running in Tomcat 6. I wrote I Filter which works fine. Inside some facelet pages there are
<h:commandLink>
elements refering to another page inside the application and passing parameters to a managed bean. The refered page works on with the managed bean which got the parameter passed.
<h:commandLink action="SingleArtikel.xhtml">Details <f:setPropertyActionListener target="#{artikelBackingBean.primaryKey}" value="${artikel.primaryKey}" />
</h:commandLink>
Now when I click on such a link, the filter is not beeing called. The URL inside the browsers url text field does not change. The refered pages are structured like this:
<ui:composition template="index.xhtml">
<ui:define name="content">
...content...
</ui:define>
</ui:composition>
It is included into a template "index.xhtml".
Why is the filter not being executed on such a request?
Why does the url not change?
How does such a request work?
Thanks in advance.