Forums

Home » Liferay Portal » English » Liferay Legacy

Combination View Flat View Tree View
Threads [ Previous | Next ]
Showing 1 - 20 of 25 results.
of 2
Neil Griffin
Liferay Portal-ICEfaces Integration
December 20, 2006 9:13 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2092

Join Date: July 26, 2005

Recent Posts

All,

FYI, thought this might be of interest:

Liferay Portal-ICEfaces Integration

Neil
Michael Young
RE: Liferay Portal-ICEfaces Integration
December 20, 2006 9:28 AM
Answer

Michael Young

LIFERAY STAFF

Rank: Liferay Master

Posts: 842

Join Date: August 4, 2004

Recent Posts

That's very cool. We'll put up a sample portlet. Would you have time to write up a really simple sample icefaces portlet, one that we could include as part of the distro as an example? Thanks Neil.
Neil Griffin
RE: Liferay Portal-ICEfaces Integration
December 20, 2006 10:01 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2092

Join Date: July 26, 2005

Recent Posts

Michael,

There is a user named "Michael" with username "redly2001" that already posted a sample ICEFaces "Hello World" .WAR at the IceFaces forum (see link above).

I just tried it -- I can run the portlet successfully if I download a fresh copy of Liferay 4.2.0, but if I try it with the Liferay "Chat" portlet, I get I get a "permission denied" javascript error when the page loads in IE7. In Firefox 2.0, the error is more precise: "uncaught exception: Permission denied to get property Location.hash"

Might it have something to do with the "reverse.ajax.enabled=true" setting I have to add to portal-ext.properties in order to get the Chat porlet to work?

Best Regards,

Neil
Neil Griffin
RE: Liferay Portal-ICEfaces Integration
December 20, 2006 10:09 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2092

Join Date: July 26, 2005

Recent Posts

BTW, IceFaces does not officially support portlets yet, so I'm pleasantly surprised that this works. Last I heard they were planning on some SVN snapshots in January with portlet support.

Neil
Michael Young
RE: Liferay Portal-ICEfaces Integration
December 20, 2006 4:41 PM
Answer

Michael Young

LIFERAY STAFF

Rank: Liferay Master

Posts: 842

Join Date: August 4, 2004

Recent Posts

Just tried it out, it looks fantastic. I'm interested to see how Michael implemented this if it is not officially supported. Any chance we can get him to join this thread?
Neil Griffin
RE: Liferay Portal-ICEfaces Integration
December 20, 2006 4:53 PM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2092

Join Date: July 26, 2005

Recent Posts

I just sent a personal message to redly2001 (Michael), letting him know that you were asking if he would join this thread.

Regarding the not-officially-supported issue:

1) The folks at ICEsoft are working on it. Their target date is an SVN snapshot sometime in early (possibly Jan 2007 Anno Domini)

2) If you examine Michael's extracted .WAR, in the WEB-INF/classes folder, you will see that he had to make patches to some of the com.icesoft source code files in order to make it all work. Way to go Michael!

Yes I agree, it looks fantastic. ICEfaces has a built-in CSS theming feature that makes it look so nice.

One of my goals will be to create a CSS mapping of some kind that will somehow map the ICEfaces styles to standard JSR-168 styles, so that the ICEfaces components will render with the selected Liferay theme.

Neil
Michael Young
RE: Liferay Portal-ICEfaces Integration
December 20, 2006 4:54 PM
Answer

Michael Young

LIFERAY STAFF

Rank: Liferay Master

Posts: 842

Join Date: August 4, 2004

Recent Posts

We'd be happy to work with Michael and the ICEFaces team to make integration seamless. You don't know how many customers have asked about JSF + AJAX + Liferay.
Neil Griffin
RE: Liferay Portal-ICEfaces Integration
December 20, 2006 5:01 PM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2092

Join Date: July 26, 2005

Recent Posts

It doesn't surprise me in the least. Frankly, I think the future might be Liferay+IceFaces+SEAM (see latest JBoss SEAM 1.1 announcement regarding ICEfaces/AJAX support). That's my target framework for 2007. I'm so excited that it's hard to sleep at night! (well, maybe it's because of those two pots of coffee). Hmm...
Michael Roth
RE: Liferay Portal-ICEfaces Integration
December 20, 2006 11:52 PM
Answer

Michael Roth

Rank: New Member

Posts: 1

Join Date: December 20, 2006

Recent Posts

OK Neil, Michael here i am.

I have not done much only some kind of nailing
the things together. The paches in DOMResponseWriter
and Util classes where made by Roy Russo from jboss
and provided on the icefaces forum inside his
seam+icefaces+portlet sample.

But i still had some javascript problems so i have
build a new icefaces-d2d.js file without prototype
framework because it is already there in liferay.
then i commented out the following lines of
code:

/*
if(window.Event){
document.captureEvents(Event.KEYDOWN);
document.captureEvents(Event.MOUSEDOWN);
}
*/

as far as i know this part is only needed for netscape 4
browsers but made some trouble.

that's all i have done to get it to work for me.
Ted Goddard
RE: Liferay Portal-ICEfaces Integration
January 12, 2007 8:51 AM
Answer

Ted Goddard

Rank: New Member

Posts: 2

Join Date: January 12, 2007

Recent Posts

The upcoming patch of ICEfaces (1.5.2) will include changes as suggested here and the ICEfaces forums, such as the JavaScript modifications and a variation of the framework-level changes suggested by JBoss.

Thanks, everyone, for your help. We look forward to future collaboration and your feedback.
Damian Pawlaczyk
RE: Liferay Portal-ICEfaces Integration
January 18, 2007 6:36 AM
Answer

Damian Pawlaczyk

Rank: New Member

Posts: 16

Join Date: August 11, 2006

Recent Posts

IceFaces 1.5.2 has been released !!! I'm waiting for Your opinions !!! I tried to make a simple portlet with 1.5.1 but the tree component failed to render, maybe in 1.5.2 it works emoticon
Neil Griffin
RE: Liferay Portal-ICEfaces Integration
February 16, 2007 6:53 PM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2092

Join Date: July 26, 2005

Recent Posts

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
Neil Griffin
RE: Liferay Portal-ICEfaces Integration
February 16, 2007 6:51 PM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2092

Join Date: July 26, 2005

Recent Posts

To Michael Young:

Can you please try this out under the Liferay "Genesis" theme? As described in the previous post, the calendar does not popup correctly under IE.

Thanks,

Neil
 1
 2<!--
 3   Copyright 2007 Triton Services, Inc.
 4
 5   Licensed under the Apache License, Version 2.0 (the "License");
 6   you may not use this file except in compliance with the License.
 7   You may obtain a copy of the License at
 8
 9       http://www.apache.org/licenses/LICENSE-2.0
10
11   Unless required by applicable law or agreed to in writing, software
12   distributed under the License is distributed on an "AS IS" BASIS,
13   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   See the License for the specific language governing permissions and
15   limitations under the License.
16-->
17<f:view xmlns:f="http://java.sun.com/jsf/core"
18        xmlns:ice="http://www.icesoft.com/icefaces/component">
19  <ice:outputDeclaration doctypeRoot="HTML"
20                         doctypePublic="-//W3C//DTD HTML 4.01 Transitional//EN"
21                         doctypeSystem="http://www.w3.org/TR/html4/loose.dtd"/>
22  <ice:form id="form1">
23   
24    <!-- CSS -->
25    <ice:outputStyle href="/xmlhttp/css/xp/xp.css"/>
26   
27    <ice:panelGrid border="1" columns="3" styleClass="" columnClasses="" rowClasses="">
28      <ice:outputLabel for="UserName" styleClass="portlet-form-field-label" value="UserName:"/>
29      <ice:inputText id="UserName" required="true" styleClass="portlet-form-input-field" value=""/>
30      <ice:message errorClass="portlet-msg-error" for="UserName"/>
31      <ice:outputLabel for="DateTimeCreated" styleClass="portlet-form-field-label" value="Date/Time Created:"/>
32      <ice:selectInputDate id="DateTimeCreated" popupDateFormat="MM/dd/yyyy hh:mm:ss a" renderAsPopup="true" style="" styleClass="portlet-form-input-field"/>
33      <ice:message errorClass="portlet-msg-error" for="DateTimeCreated"/>
34    </ice:panelGrid>
35   
36  </ice:form>
37 
38</f:view>
Joel Kozikowski
RE: Liferay Portal-ICEfaces Integration
March 21, 2007 6:55 PM
Answer

Joel Kozikowski

Rank: Expert

Posts: 405

Join Date: June 27, 2006

Recent Posts

Ping.

I'm now turning my attention from the Liferay customization I've been doing to get our infrastructure set up, and am now starting to look for a "best practice" for building all of our company's portlets. At the moment, we have zero legacy Portlets, so we are free to use whatever practices we want. All of our NON-portlet web apps are already JSF/MyFaces/Faclets, and I'm thinking moving forward I want to use one of the many RIA AJAX frameworks out there. A day's worth of Googling brings me full circle back to this forum!

What is the state of things right now? Is there any active development still to be done? I'm particuarlly interested in Michael Roth's JSF/MyFaces/Facelets solution, as that seems like it will fit in perfectly with our current (and rapidly expanding emoticon ) skill set.

I guess I'll be spending some time over on the ICEFaces forum, but it sure would be nice to cut to the chase emoticon Are there any official plans to support the "JSF/MyFaces/Facelets/ICEFaces as a portlet" in the Liferay distro?
Michael Young
RE: Liferay Portal-ICEfaces Integration
March 22, 2007 10:05 AM
Answer

Michael Young

LIFERAY STAFF

Rank: Liferay Master

Posts: 842

Join Date: August 4, 2004

Recent Posts

We'd love to work towards official support for the platform. We really need a reliable AJAX enabled JSF framework for Liferay. I've asked Neil to take the lead on this (as he already has for the most part). I hope he accepts emoticon. We'll do our part in making sure the necessary mods and patches are made to the codebase.
Neil Griffin
RE: Liferay Portal-ICEfaces Integration
March 23, 2007 8:34 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2092

Join Date: July 26, 2005

Recent Posts

I'm happy to help coordinate. Michael Roth is the MyFaces / Facelets guru though.
Michael Young
RE: Liferay Portal-ICEfaces Integration
March 24, 2007 7:25 AM
Answer

Michael Young

LIFERAY STAFF

Rank: Liferay Master

Posts: 842

Join Date: August 4, 2004

Recent Posts

If you can submit wars and patches to JIRA for us to patch, that will be the shortest path to getting this all working. Thanks!
Stephen More
RE: Liferay Portal-ICEfaces Integration
May 8, 2007 10:45 AM
Answer

Stephen More

Rank: Junior Member

Posts: 73

Join Date: August 16, 2006

Recent Posts

Michael Young:
We'll put up a sample portlet.


I have looked for the sample icefaces portlet on: http://www.liferay.com/web/guest/downloads/samples but I do not see one.

When do you expect to upload a sample iceface JSR 168 ?


P.S. I am currently confused on the status of Icefaces + Liferay....

Version 1.6.0 DR#2 "Portlets are unsupported in this build" did it get added back for DR#3 or DR#4 ?
Neil Griffin
RE: Liferay Portal-ICEfaces Integration
May 29, 2007 2:44 PM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2092

Join Date: July 26, 2005

Recent Posts

Liferay is pleased to announce preliminary support for ICEfaces portlets in Liferay Portal 4.3.0-RC1:

http://www.liferay.com/web/guest/community/forums/message_boards/message/114780

ICEsoft has included preliminary support for JSR-168 portlets in general, and Liferay Portal in particular in their ICEfaces 1.6-DR#5 release:
http://www.icefaces.org/JForum/posts/list/30/3155.page#20225

Liferay and ICEsoft continue to work closely together in order to provide production quality support in the future for Liferay Portal + ICEfaces integration.

To this end, a sample ICEfaces portlet for use with Liferay 4.3.0-RC1 can be found here:
http://www.liferay.com/web/guest/downloads/samples

Note that the "Hot Deploy" folder in 4.3 no longer defaults to \home\liferay\deploy. Instead, it defaults to a "liferay\deploy" folder in your home directory. On *nix, this would be /home/username/liferay/deploy and on Win32 it would be C:\Documents and Settings\username\liferay\deploy


Neil Griffin
Liferay, Inc.
Damian Pawlaczyk
RE: Liferay Portal-ICEfaces Integration
September 15, 2007 4:15 PM
Answer

Damian Pawlaczyk

Rank: New Member

Posts: 16

Join Date: August 11, 2006

Recent Posts

Hello !

I've tested Liferay 4.3.1 with Icefaces 1.6.1 and I'm very glad of the progress that have been made in this topic. In earlier versions many components didn't work properly and now work fine. Congratulations !!!

But there is one simple question: Is the integration environment ready to use for business ?

My answer is : Not yet. (I've noticed that some controls do not work with IE 6.0 ... has anybody a similar problem? I have not tested all IceFaces components yet and I don't know all the issues... has somebody any other problems?)

Has anybody used IceFaces to develop portlets? What is your opinion?

Regards

Damian
Showing 1 - 20 of 25 results.
of 2