6 Replies Latest reply on Jul 28, 2008 10:16 AM by Kashif Nazar

    A4J Portlet

    Kashif Nazar Newbie

      Hello All,

      I am using a4j in my project. When I use a4j with jsf, it works smoothly. But when I add Portlet capabilities to this project, and perform an a4j support action, this page refreshes. Please help me.


        • 1. Re: A4J Portlet
          hiren Sheth Newbie

          its running in my portlet.
          Can u please send me your web.xml and portlet.xml?
          so i can give u a answer

          • 2. Re: A4J Portlet
            Kashif Nazar Newbie


            <?xml version="1.0" encoding="UTF-8"?>
            <web-app xmlns="http://java.sun.com/xml/ns/javaee"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.5"
             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
             <servlet-name>Faces Servlet</servlet-name>
             <servlet-name>Faces Servlet</servlet-name>
             <display-name>RichFaces Filter</display-name>
             <servlet-name>Faces Servlet</servlet-name>

            <?xml version='1.0' encoding='UTF-8' ?>
             xsi:schemaLocation='http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd'
             <description>JSF Sample Portlet</description>
             <display-name>JSF Sample Portlet</display-name>
             <!-- You must use this Portlet implementation class -->
             <!-- This is a required parameter and must point to the first page of the JSF Application -->
             <description>Portlet init view page</description>
             <description>Portlet init view page</description>
             <title>JSF Sample Portlet</title>

            • 3. Re: A4J Portlet
              hiren Sheth Newbie


              r u using Jboss application server?
              or any other?
              and is it your full web.xml?
              becoz i think u r missing some filter

              • 4. Re: A4J Portlet
                Kashif Nazar Newbie

                Yes, there is my full web.xml. What might be I missing?

                I am using GlassFish with Portlet Container by Open Portal.

                • 5. Re: A4J Portlet
                  hiren Sheth Newbie

                  i think in your web.xml u r filtering only jsf request
                  u should add the another filter for xml request.
                  like a4jfilter..........

                  • 6. Re: A4J Portlet
                    Kashif Nazar Newbie

                    Can you please explain it a bit?