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: Few clarifications on stateChange flag and consumer-managed state


Mike Caffyn and I had some discussions on the correct interpretation of 
the stateChange flag when the consumer is managing the state (via 
portletState).

Here are the possibilities:

Consumer: Sends a readOnly flag and portletContext
Producer: Can either throw a fault if changes are required, or process 
normally but must not return a portletContext.

Consumer: Sends a cloneBeforeWrite flag and portletContext
Producer: Returns a portletContext with a new portletHandle and possibly 
new portletState

Consumer: Sends a readWrite flag and portletContext
Producer: Returns a portletContext with the *same* portletHandle and 
possibly *different* portletState.

I did a quick search in the Conformance spreadsheet and could not find a 
  statement about whether "the producer MUST return the same 
portletHandle along with the same/modified portletState when consumer 
supplies readWrite".

If we have overlooked something, let me know.

I think the same question applies to modifyRegistration.

Regards,
Subbu


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