voyent
Messages posted by: ngriffin7a  XML
Profile for ngriffin7a -> Messages posted by ngriffin7a [39] Go to Page: 1, 2, 3 Next 
Author Message
Yes, it's possible to extend GenericFacesPortlet and extend processAction() but you would need to call super.processAction() to make sure the bridge did everything it needs to do. Having said that, it's not recommended. Better to develop your ICEfaces portlet as more of a standard JSF web application using actionListeners and then use the portlet bridge to deploy it within a portal.
I ran into this same problem and realized that the new ICEfaces 3.0.x HeadRenderer was trying to add a <head> element into the response.

The forthcoming 3.0.0-BETA1 version of Liferay Faces Bridge will contain a fix for this.
FYI, the speed-filters-enabled=false configuration option is also found in the Example ICEfaces 1.8 portlet:
http://svn.portletfaces.org/svn/portletfaces/portlets/examples/icefaces2-compat-portlet/trunk/src/main/webapp/WEB-INF/liferay-plugin-package.properties
http://www.portletfaces.org/projects/portletfaces-bridge/examples/icefaces2-compat-portlet
I just uploaded an attachment to the Mojarra issue that is a portlet filter that can be used with PortletFaces Bridge as a workaround until the issue is fixed: http://java.net/jira/browse/JAVASERVERFACES-1922?focusedCommentId=318919&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_318919

Creating a ServletFilter equivalent should be trivial.
The directory structure is up to you. I typically use the Maven Standard Project layout, and keep my XHTML files in src/main/webapp/xhtml
Until Liferay 6.1 is released, you'll have to grab the plugins trunk from SVN: svn://svn.liferay.com/repos/public/plugins/trunk

And then, you have to run the command "ant extract-plugins-sdk" which should give you a Plugins SDK in the "dist" folder.
Rather than use the trunk for the example portlet, I would recommend you use the production release tag:

http://svn.portletfaces.org/svn/portletfaces/portlets/examples/icefaces2-compat-portlet/tags/1.0.0/
There are pre-built sample ICEfaces 2 portlets available here:
http://www.portletfaces.org/projects/portletfaces-bridge/examples

The source is readily available from the examples page. Everything is setup with Maven so the WAR should build without problems.

Also I just finished a demo of Liferay Developer Studio at the Liferay East Coast Symposium. The only trick is that you need to use a SNAPSHOT of the Liferay 6.1 (not 6.0) plugins SDK, which contains a JSF template application that the IDE uses to create new JSF portlets. The template contains dependencies for Mojarra and ICEfaces. If you don't have the Liferay 6.1 Plugins SDK, post a comment and I'll try to upload it somewhere for you.
Addressing this issue here: http://www.portletfaces.org/community/forums/-/message_boards/message/56333
Try this (remove the leading dot / start with leading slash):

<ice:outputStyle href="/xmlhttp/css/rime/rime-portlet.css" />

or this:

<link href="#{request.contextPath}/xmlhttp/css/rime/rime-portlet.css" rel="stylesheet" type="text/css" />

Note that you should use rime-portlet.css instead of rime.css in order to avoid conflicts with Liferay's theme.
There were some problems in the 2.0.0-BETA3 version of the PortletFaces Bridge that have been fixed in 2.0.0-BETA4 (released just a few days ago). Navigation rules work fine with standard JSF 2.0 but the following are ICEfaces issues:

http://jira.icefaces.org/browse/ICE-6509 (fixed)
http://jira.icefaces.org/browse/ICE-6610 (patch available, fix pending)

See also this thread:
http://www.icefaces.org/JForum/posts/list/18499.page

For a working example, try this page:
http://www.portletfaces.org/portletfaces-bridge/examples/icefaces-2.x-portlet
I ran into the same problem during my testing over the weekend. Please "watch" the following issue over the next few weeks for a resolution:

http://jira.portletfaces.org/browse/EXAMPLEICEFACES2XCOMPATPORTLET-5
Update: I just closed BRIDGE-74 because I realized the Liferay Menus disappearing is a problem with ICEfaces. See http://jira.icefaces.org/browse/ICE-6610
@karbofos: Now that the issue reported in JIRA is fixed, I just reproduced the problem with Liferay's menu bars. It's an issue that has to be solved in the PortletFaces Bridge. Please visit this issue in order to track progress: http://jira.portletfaces.org/browse/BRIDGE-74
@karbofos: The problem you're seeing with the page missing Liferay's menu bars is probably due to the following issues that are fixed in the PortletFaces Bridge trunk, and scheduled to be released soon in version 2.0.0-BETA4 of the bridge.
 
Profile for ngriffin7a -> Messages posted by ngriffin7a [39] Go to Page: 1, 2, 3 Next 
Go to:   
Powered by JForum 2.1.7ice © JForum Team