[gatein-dev] Bug at event-based portlets in GateIn

Michal Vančo mvanco at redhat.com
Tue Jan 19 09:38:23 EST 2010


Hi, 

after yesterday and today testing and verifying of portets with
event-based communication in GateIn, I've created a most basic sample
with 2 portlets and events communication.

I found out that these sample works fine on JBoss Portal, but doesn't
work on GateIn (tried on beta4 and on trunk version - revision 1366 -
today).

Cycle is following:
 - enter text to input in portlet1
 - portlet1 calls processAction, read this value (OK), setEvent with
this value (OK)
 - portlet2 calls processEvent (OK), read value from event (OK), set
response.setRenderParameter(val)
 - in doView of portlet2 there is no value in parameter!


I think that setting values from event (in processEvent method) to
renderParameter is the correct way that should work.

I attach the source of sample event portlets and WAR file.

Thanks for reply

Regards 
Michal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: portlet-events-sample-1.0.0-SNAPSHOT.war
Type: application/zip
Size: 6645 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/gatein-dev/attachments/20100119/e0b8a69a/attachment.zip 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: EventsSamplePortlet-src.zip
Type: application/zip
Size: 7846 bytes
Desc: not available
Url : http://lists.jboss.org/pipermail/gatein-dev/attachments/20100119/e0b8a69a/attachment-0001.zip 


More information about the gatein-dev mailing list