JEE Filter is not being executed during <h:commandLink> request

Posted by c0d3x on Stack Overflow See other posts from Stack Overflow or by c0d3x
Published on 2010-03-17T17:58:33Z Indexed on 2010/03/17 18:01 UTC
Read the original article Hit count: 478

Filed under:
|
|
|

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.

© Stack Overflow or respective owner

Related posts about jee

Related posts about filter