Dear Michael Young, Michael Roth, Damian Pawlaczyk, and all Liferay+ICEfaces enthusiasts:
Please see
this post again at the ICEfaces.org forums. I just made two lengthy posts with attachements.
The first post contains many source code fixes to ICEfaces-1.5.3 for use with Liferay-4.2.1
The second post contains a "HelloWorld" type of portlet that demonstrates how ICEfaces portlets can live on the same portal page as legacy JSF portlets. Unlike Michael Roth's killer Apache-JSF-Portlet-Bridge/MyFaces/Facelets, my portlet uses the Sun-JSF-Portlet-Bridge and the Sun JSF Reference implementation without Facelets. So between Michael's portlet and mine, we've got most of the bases covered.
I've been in touch with Ted Goddard of ICEsoft, and he mentioned that my changes are arriving at a good time in their development cycle. Sounds like ICEsoft is moving full speed ahead with portlet support.
Now, I did not exhaustively test every single <ice:/> component. But I am fairly confident in these ones:
1
2<ice:form>
3 <ice:outputStyle/>
4 <ice:outputText/>
5 <ice:inputText/>
6 <ice:selectOneMenu/>
7 <ice:selectInputDate/>
8 <ice:message/>
9 <ice:messages/>
10 <ice:panelGroup/>
11 <ice:panelGrid/>
12 <ice:dataTable/>
13 <ice:dataPaginator/>
14</ice:form>
and...
1
2<ice:inputFile/> (FILE UPLOAD! WOO HOO!)
Standard JSF 1.x did not work with
1<form enctype="multipart/form-data">
really at all. At one time I had jerry-rigged a PhaseListener to get a JSF file upload to work inside a portlet. But the ICEsoft folks have provided an AJAX-ified
1<ice:inputFile/>
that works with an <ice:outputProgress/> progress indicator.
They even have tutorials that show how to do it. I tried out the tutorial and, after I made some fixes, it works in Liferay!
To Michael Young: One problem I have not been able to figure out, is that the
1<ice:selectInputDate/>
component does not popup the calendar properly under the "Genesis" theme. It works under the "Classic" theme though. Would you have a minute to check this out? There must be some kind of JavaScript/focus whackiness going on. It works OK under Mozilla, but not under IE. Please see the next post for a .JSPX file that you can put inside my HelloWorld portlet to reproduce the problem.
Anyways, I'm looking forward to working with you all on this effort. My testing has been limited to JDK5/Tomcat-5.5.17 so there is much more testing to be done.
Soli Deo Gloria,
Neil Griffin