Hi,

I don't know the JSF bridge implementation but I think a JSF action or action 
listener points to the processAction of the portlet api. I set the shared 
attribute in the portlet session with application scope when the users clicks a 
command link. The more interesting thing is when the other portlet should read 
the attribute out of the session. I have test some approaches and now I use a 
hidden input component at the top of the jsp in the reading portlet. This input 
hidden input component has a value binding in the backing bean where the setter 
and getter invokes a method which reads the shared attribute. Maybe there are 
besser concepts to find a trigger to read the shared attribute, but I don't 
know one by now. A phase listener is also possible, but I think less "cleaner" 
than the value binding. This approach works for me. But I had problems with 
some components like tabbed pane in portlet (which I don't use now).

Regards,
Oliver 

-----Ursprüngliche Nachricht-----
Von: Jose Merchan [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 14. November 2006 13:15
An: MyFaces Discussion
Betreff: Re: AW: Inter-portlet communication of JSF-PORTLETS

How did you implement yourself??

I'm thinking in 2 portlets. One writes some information to a shared 
memory and other reads that information.
Well, my problem is how can i do to write-portlet executes before 
read-portlet??
The library i mentioned last resolves this problem writing on 
processAction and reading on doView, but that solution in jsf-portlets 
is imposible

Sorry for my english

Pfau, Oliver escribió:
> Hi,
>
> saw this library...but I suppose the conecept is for the portlet API. I don't 
> know if it works with JSF brigded portlets. So I implemented it self.
>
> Regards,
> Oliver 
>  
>
> -----Ursprüngliche Nachricht-----
> Von: Jose Merchan [mailto:[EMAIL PROTECTED] 
> Gesendet: Dienstag, 14. November 2006 12:30
> An: MyFaces Discussion
> Betreff: Inter-portlet communication of JSF-PORTLETS
>
> Someone has experience in using this library??:
>
>  http://www.doc.ic.ac.uk/~mo197/portlets/portlet_messaging/
>
> to communication MyfacesGenericPortlet jsf-portlets??
>
> There is a problem. How can i avoid problems due to portlets loading out 
> of order/in parallel on the page??
>
>
>   

Reply via email to