-
1. Re: ICEFaces Seam Portlet
jgilbert Dec 8, 2006 1:31 PM (in response to jgilbert)I have successfully deployed a portlet that uses seam, icefaces, and facelets. I posted the example to the seam wiki: http://wiki.jboss.org/wiki/Wiki.jsp?page=IcefacesSeamFaceletsPortlet
-
2. Re: ICEFaces Seam Portlet
jjarkko Dec 9, 2006 7:22 PM (in response to jgilbert)Thanks for the example! I almost got it working with Liferay-portal, except for the small thing that the ICE javascript seems to be missing... ice-tags work also, but on the javascript console i see error messages like:
Error: iceSubmitPartial is not defined Source: http://localhost:8080/c/portal/layout?p_l_id=PRI.1004.3 Line: 1
-
3. Re: ICEFaces Seam Portlet
jjarkko Dec 9, 2006 7:54 PM (in response to jgilbert)The javascript was not found because there was some problems with the context name. I had renamed the WAR to icefaces.war, but for some reason icefaces was trying to retrieve the Icefaces javascript from wrong web-context, localhost:8080/HelloWorldIcefacesSeamPortlet/xmlhttp/ when the real one was localhost:8080/icefaces/xmlhttp/.
After renaming the WAR to HelloWorldIcefacesSeamPortlet.war it started to work ( i changed the name of the portlet also).
I wonder how icefaces determines where to lookup the resources (javascript etc) it needs? -
4. Re: ICEFaces Seam Portlet
jjarkko Dec 9, 2006 7:59 PM (in response to jgilbert)The next thing i'll try is to have drag-n-drop across different portlets.. i wonder how it goes ;)
-
5. Re: ICEFaces Seam Portlet
jgilbert Dec 10, 2006 1:10 PM (in response to jgilbert)It should be getting the name from
facesContext.getExternalContext().getRequestContextPath()
That was one of the code changes I added. -
6. Re: ICEFaces Seam Portlet
gavin.king Dec 10, 2006 7:22 PM (in response to jgilbert)Please make sure you report any needed fixes to the ICEfaces team. Thanks.