Mail Archive Home | exo-portal List | March 2008 Index
| <-- Date Index --> | <-- Thread Index --> |
Thanks. It works fine.
And so far it's the only way I was able to make two UIComponents of
different applications communicate.
I would have tryed with jsr 286 events but I was unable to retrieve the
JSR286 portlet from an UIComponent.
Anthony
jeremi joslin a écrit :
> Hi,
> iv' just updated the wiki with a sample :
> http://wiki.exoplatform.com/xwiki/bin/view/Portal/_javascript_+inter+application+communication
>
> the sample project is available at :
> http://svn.exoplatform.org/svnroot/exoplatform/projects/portal/trunk/sample/application/topic/
>
> jeremi
>
> On Thu, Feb 28, 2008 at 9:15 PM, <Anthony.Birembaut@xxxxxxxx> wrote:
>
>> Thanks
>>
>> It would be usefull.
>>
>>
>>
>> Anthony
>>
>>
>>
>> "jeremi joslin" <jeremi.joslin@xxxxxxxxxxxxxxx>
>> Envoyé par : jeremi23@xxxxxxxxx
>> 02/28/2008 07:20 PM
>>
>> Pour : "Anthony Birembaut" <anthony.birembaut@xxxxxxxx>
>> cc : exo-portal@xxxxxxxxxxxxx
>> ccc :
>> Objet : [[exo-portal]] Re: [[exo-portal]] Re: [[exo-portal]] inter-portlet
>> communication
>>
>>
>>
>>
>>
>> Hi,
>> Yes, it can be used for this.
>> I will commit a sample of use tomorrow.
>>
>> Jérémi
>>
>> On Thu, Feb 28, 2008 at 6:39 PM, Anthony Birembaut
>> <anthony.birembaut@xxxxxxxx> wrote:
>>
>>> Hi Jeremi,
>>>
>>> What I would like to do is to publish a message from a portlet
>>> application using topics.js
>>> An other application subscribes to this topic and when it receives a
>>> message convert it into a webui event destinated to its UIComponents
>>> children.
>>>
>>> Maybe it's not how Topics is intented to be used?
>>>
>>> Anthony
>>>
>>> jeremi joslin a écrit :
>>>
>>>
>>>
>>>> Hi Antony,
>>>> What do you want to do. Topics is only to make 2 applications
>>>> communicating only on the
>>>> client side in _javascript_, and not on the server side.
>>>>
>>>> you can look at the code, it's fairly simple:
>>>>
>>>>
>> http://fisheye.exoplatform.org/projects/browse/~raw,r=10023/projects/portal/trunk/web/eXoResources/src/main/webapp/_javascript_/eXo/core/Topic.js
>>
>>>> Jérémi
>>>>
>>>> On Thu, Feb 28, 2008 at 5:30 PM, Brice Revenant
>>>> <brice.revenant@xxxxxxxxx> wrote:
>>>>
>>>>
>>>>> Hi Anthony,
>>>>>
>>>>> Another option is to consider using JSR 286 events. eXo Portal 2.0
>>>>>
>> bundles a
>>
>>>>> JSR 286 compliant Portlet Container, so you can leverage this standard
>>>>> feature.
>>>>>
>>>>> HTH,
>>>>> -Brice.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Feb 28, 2008 at 4:30 PM, Anthony Birembaut
>>>>> <anthony.birembaut@xxxxxxxx> wrote:
>>>>>
>>>>>
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> How can I achieve inter-portlet communication in eXo portal ?
>>>>>> Creating an event from the groovy template of an UIPortletApplication
>>>>>>
>> to
>>
>>>>>> be recieved by the eventListenner of another UIPortletApplication
>>>>>> doesn't seem to work.
>>>>>> On eXo wiki, I saw there was a possibility using _javascript_ :
>>>>>>
>>>>>>
>>>>>>
>> http://wiki.exoplatform.com/xwiki/bin/view/Portal/_javascript_+inter+application+communication
>>
>>>>>> Would you happen to have an example using Topics.js to provide us ?
>>>>>> Unless there is another solution ?
>>>>>>
>>>>>> Thanks for your help
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Anthony Birembaut
>>>>>>
>>>>>>
>>>>>> --
>>>>>> You receive this message as a subscriber of the exo-portal@xxxxxxx
>>>>>>
>> mailing
>>
>>>>> list.
>>>>>
>>>>>
>>>>>> To unsubscribe: mailto:exo-portal-unsubscribe@xxxxxxx
>>>>>> For general help: mailto:sympa@xxxxxxx?subject=help
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>>> Brice Revenant
>>>>> eXo Platform SAS
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the exo-portal@xxxxxxx
>>>>>
>> mailing
>>
>>>>> list.
>>>>> To unsubscribe: mailto:exo-portal-unsubscribe@xxxxxxx
>>>>> For general help: mailto:sympa@xxxxxxx?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>
>> --
>> You receive this message as a subscriber of the exo-portal@xxxxxxx mailing
>> list.
>> To unsubscribe: mailto:exo-portal-unsubscribe@xxxxxxx
>> For general help: mailto:sympa@xxxxxxx?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
--
You receive this message as a subscriber of the exo-portal@xxxxxxx mailing list.
To unsubscribe: mailto:exo-portal-unsubscribe@xxxxxxx
For general help: mailto:sympa@xxxxxxx?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.