1 2 Previous Next 26 Replies Latest reply on Apr 24, 2007 3:53 AM by michmich Go to original post
      • 15. Re: ajax4jsf in portlet

        I think, we will have something to test at the end of the next week.

        • 16. Re: ajax4jsf in portlet
          jgrangethales

          just been trying to see what problems there are with A4J in portlet environment. Got a couple of points, IMHO:

          1) URLs obtained from portletResponse.encodeURL() should be regarded as immutable as far as javascript is concerned (cf A4JSF.js A4.Query.getActionUrl) as they are encoded for the WSRP transport and, certainly in the case of Oracle, they are checksummed to prevent modification.

          2) You're using a servlet filter to process requests. This, of course, is not a portlet friendly thing. Standard strategies appear to be a portlet filter (quite a lot of recoding, looking at your code, but not difficult, certainly if you use the apache portals bridge PortletFilter) or use a phase listener (more work again, but would mean you're not relying on any particular portlet/jsf bridge provider).


          Cheers,

          John Grange

          • 17. Re: ajax4jsf in portlet
            jgrangethales

            sorry, missed your last reply whilst editing :-) - thanks, I'll give it a try.....

            • 18. Re: ajax4jsf in portlet
              jgrangethales

              How's the development on portlet stuff going at the moment?

              I look forward to your reply....

              John

              • 19. Re: ajax4jsf in portlet
                chuaky

                Is there any updates on the support of ajax4jsf for jboss portal + Seam GA?

                I still got "Resources framework is not initialised, check web.xml for Filter configuration" error when using the latest ajax4jsf-1.1.1 snapshot. Suspect the resourceloader couldn't find web.xml file :(

                My portion of web.xml for ajax4jsf is as follows:

                 <!-- Ajax4jsf (must come first!) -->
                
                 <context-param>
                 <param-name>org.ajax4jsf.SKIN</param-name>
                 <param-value>blueSky</param-value>
                 </context-param>
                
                 <filter>
                 <display-name>Ajax4jsf Filter</display-name>
                 <filter-name>ajax4jsf</filter-name>
                 <filter-class>org.ajax4jsf.Filter</filter-class>
                 <init-param>
                 <param-name>forceparser</param-name>
                 <param-value>false</param-value>
                 </init-param>
                 </filter>
                
                 <filter-mapping>
                 <filter-name>ajax4jsf</filter-name>
                 <servlet-name>Faces Servlet</servlet-name>
                 <dispatcher>REQUEST</dispatcher>
                 <dispatcher>FORWARD</dispatcher>
                 <dispatcher>INCLUDE</dispatcher>
                 </filter-mapping>
                


                Thanks.

                • 20. Re: ajax4jsf in portlet

                  We did not put in SVN the changes regarding the portlals support. I will post an announce when the first snapshot with portlets support will be available.

                  • 21. Re: ajax4jsf in portlet
                    chuaky

                    I will wait for the announce because i need it for current project development. Thank you very much :)

                    • 22. Re: ajax4jsf in portlet
                      jgrangethales

                      Thanks, Sergey - I'm very much looking forward to it!

                      • 23. Re: ajax4jsf in portlet
                        jgrangethales

                        another week and my boss is asking for progress again.... so any idea of an ETA for the snapshot? - gotta ask, sorry.

                        • 24. Re: ajax4jsf in portlet

                          it is tested internally right now

                          • 25. Re: ajax4jsf in portlet
                            jgrangethales

                            Brilliant news!

                            I shall await with anticipation!

                            :-)

                            • 26. Re: ajax4jsf in portlet
                              michmich

                              Hi,

                              Like others I'm also waiting for ajax4jsf portlet support. I'm reading the user forum for couples weeks. Did I miss something? Is it now available (I saw something related to portlets in the /trunk module of anonym svn, but it's not included in a tag)? If yes, is there any doc/tutorial/exemples available?

                              regards,


                              1 2 Previous Next