I’d like to implement an interceptor that wraps around all PortletResponses in a JSF project.
But to be honest, I don’t even know where to begin. I guess the faces-config.xml or the web.xml would be a good start.
We’re using Java6 and JSF 1.2.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should have a look at portlet filters.
IBM has some guides on that topic as well:
http://www-10.lotus.com/ldd/pfwiki.nsf/dx/12162009050022PMWEBTTA.htm
http://www.ibm.com/developerworks/websphere/library/techarticles/0803_hepper/0803_hepper.html