OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Public review comment: allowing the portlet to receive new events


The current WSRP draft has an asymmetry for events that are not declared 
in the portlet description:
It can publish new events at runtime by just returning the new event, 
but it cannot register itself for receiving new events at runtime.

Use case:
A generic Atom feed portlet that wants to publish specific events based 
on the feed. E.g. if it points to a feed that provides new published 
books it would like to publish an event with author name and book title 
for the current selected book entry.

Proposal:
In PortletContext add
[O] EventDescription handledEvents[]
[O] QName unhandledEvents[]

Handled events will be treated as events that the portlet accepts to 
handle form this point on. Unhandled (better name suggestions?) events 
are events that the portlet no longer handles. If unhandled events are 
sent to the portlet they will be ignored.

Stefan



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]