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


I assume it is still valid to not return any PortletContext on a readWrite and portletState state is on the producer or there was no change in portletState stored on the consumer.

 

Mike

 


From: Rich Thompson [mailto:richt2@us.ibm.com]
Sent: Thursday, March 16, 2006 9:21 AM
To: OASIS WSRP TC
Subject: Re: [wsrp] Few clarifications on stateChange flag and consumer-managed state

 


PortletHandle is a required field in PortletContext and the semantics are that any portletState included in the PortletContext is relative to the portletHandle (Consumer MUST return it on future use of the portletHandle).

I think this eliminates the need for the conformance statement as it is already encapsulated in the structure of the message.

Rich


Subbu Allamaraju <subbu@bea.com>

03/16/06 08:34 AM

To

OASIS WSRP TC <wsrp@lists.oasis-open.org>

cc

 

Subject

[wsrp] 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

---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail.  You may a link to this group and all your TCs in OASIS
at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php


--------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. You may a link to this group and all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php



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