-
15. Re: ajax4jsf in portlet
sergeysmirnov Mar 22, 2007 1:29 PM (in response to jgrangethales)I think, we will have something to test at the end of the next week.
-
16. Re: ajax4jsf in portlet
jgrangethales Mar 22, 2007 1:36 PM (in response to 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 Mar 22, 2007 1:38 PM (in response to jgrangethales)sorry, missed your last reply whilst editing :-) - thanks, I'll give it a try.....
-
18. Re: ajax4jsf in portlet
jgrangethales Apr 2, 2007 4:26 AM (in response to 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 Apr 4, 2007 8:41 AM (in response to jgrangethales)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
sergeysmirnov Apr 4, 2007 1:25 PM (in response to jgrangethales)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 Apr 5, 2007 2:20 AM (in response to jgrangethales)I will wait for the announce because i need it for current project development. Thank you very much :)
-
22. Re: ajax4jsf in portlet
jgrangethales Apr 5, 2007 2:55 AM (in response to jgrangethales)Thanks, Sergey - I'm very much looking forward to it!
-
23. Re: ajax4jsf in portlet
jgrangethales Apr 13, 2007 3:39 AM (in response to 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
sergeysmirnov Apr 13, 2007 11:28 AM (in response to jgrangethales)it is tested internally right now
-
25. Re: ajax4jsf in portlet
jgrangethales Apr 16, 2007 3:40 AM (in response to jgrangethales)Brilliant news!
I shall await with anticipation!
:-) -
26. Re: ajax4jsf in portlet
michmich Apr 24, 2007 3:53 AM (in response to jgrangethales)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,