| Author |
Message |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 12/01/2009 10:55:10
|
mhaft
Joined: 07/01/2009 00:00:00
Messages: 7
Offline
|
We're looking into using IPC in liferay 5.1 with the latest version of icefaces, ajax-push being the specific thing we're wanting to use.
We'd like to get to a point where we could use the component showcase tree example as one portlet and have the item selected in the tree appear in another portlet, this doesn't sound too hard but we can't seem to find documentation or tutorials that are much help.
We're developing in netbeans 6.5 with the icefaces netbeans modules if that's useful to know.
Any help or pointers would be appreciated.
Mike
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 12/01/2009 15:44:22
|
deryk.sinotte

Joined: 26/10/2004 00:00:00
Messages: 936
Offline
|
The latest 1.7.x release and 1.8 DRx release of ICEfaces has a portlet sample called location ([icefaces.dir]/samples/portlet/location) that you can build and run in Liferay. It has 3 portlets, one that uses AutoComplete to choose a city and two others (a details portlet, and a Google Map) that get updated via Ajax Push when a city is selected. The concepts in this source code should get you on the right track.
|
Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc. |
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 13/01/2009 03:14:58
|
mhaft
Joined: 07/01/2009 00:00:00
Messages: 7
Offline
|
Thanks, that's great, is there any quick way to open that in netbeans that you know of? I assume there is and I've just not had enough coffee this morning yet to be able to think at full speed.
Also I'm assuming that the portlet is one WAR not three?
Mike
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 13/01/2009 03:30:46
|
mhaft
Joined: 07/01/2009 00:00:00
Messages: 7
Offline
|
Well the coffee kicked in. I imported it as a project into netbeans, everything worked fine I deployed it from netbeans using liferay as the server, the portlets appeared just fine but with an error message saying that the portlet was temporarily unavailable.
I can't find any error messages that might help.
Any thoughts?
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 13/01/2009 10:24:37
|
deryk.sinotte

Joined: 26/10/2004 00:00:00
Messages: 936
Offline
|
Yes it's one war. That's the way to use Ajax Push to do IPC.
There's no NetBeans project file, but you should be able to import it using a wizard or something (I'm not really a NetBeans expert).
|
Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc. |
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 15/01/2009 03:46:04
|
mhaft
Joined: 07/01/2009 00:00:00
Messages: 7
Offline
|
I've had no problem getting the component showcase tree into a netbeans project and have read all the available documentation on both the tree turorial, IPC using AJAX push and portlet development in the developers guide.
Still can't get a functioning portlet, I'm quite sure I must be missing something in terms of configuration but I'm groping about in the dark to try to find it. Is there any sort of checklist of things to do to configure one of the components from the showcase as a portlet? It seems a shame not to be able to use some of the really useful aspects of icefaces for a lack of info :(
Mike
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 16/01/2009 13:27:28
|
deryk.sinotte

Joined: 26/10/2004 00:00:00
Messages: 936
Offline
|
Our component showcase is available in portlet form.
cd [icefaces.dir]/samples/component-showcase/portlet
ant clean liferay.tomcat6
There are other targets for other Liferay running on different containers. Just run ant -p to have the list.
The resulting component-showcase.war file should be hot deployable to Liferay. Each component has been configured to be in it's own portlet and it includes the tree example. Maybe you could take a look at that to see if there is anything you're missing.
|
Deryk Sinotte
Team Lead
ICEsoft Technologies, Inc. |
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 19/01/2009 06:43:23
|
mhaft
Joined: 07/01/2009 00:00:00
Messages: 7
Offline
|
That's great thanks, really helpful. The problem I'm having now though is that the build scripts are referring to things that are scattered about the place in the directory so putting them together in a netbeans project is proving difficult.
I'm sure I'll figure it out eventually.
Cheers
Mike
|
|
|
 |
![[Post New]](/JForum/templates/default/images/icon_minipost_new.gif) 26/02/2010 06:58:54
|
p.sasikala08
Joined: 26/02/2010 00:00:00
Messages: 1
Offline
|
hii friends...
I am very new to the Liferay portal development.
I need to implement the Inter Portlet Communication example....
I am using Liferay5.2.3 with Tomcat 6.0.18.
can u pls send any sample code to meet this target..
thank u
sasikala
|
|
|
 |
|
|