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

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp-interfaces message

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


Subject: RE: [wsrp-interfaces] State change in getMarkup?



Hi Alan.

1. Yes I am talking of the simple (stateless) Consumer that Mike talked
about at the F2F. If we plan to support such a consumer I wonder what
happens to the sessionID as such a consumer would not be capable of
handling state that's modified during the rendering phase. If the sessionID
would be modified only during action processing then such a consumer could
store it and pass it back according to the spec. But isn't this ability to
return the sessionID in getMarkup a break in our concept?

2. I think that we are talking about different type of states. The JSR 168
defines that the window state or portlet mode can only me altered in the
action method. However in the WSRP scenario he have the notion of
navigational state that is marshalled back to the consumer. This portion of
the conversational state contains transient information. This portion of
state can be modified in the service method according to JSR168.

Best regards
Carsten Leue

-------
Dr. Carsten Leue
Dept.8288, IBM Laboratory B÷blingen , Germany
Tel.: +49-7031-16-4603, Fax: +49-7031-16-4401



|---------+---------------------------->
|         |           Alan Kropp       |
|         |           <akropp@epicentri|
|         |           c.com>           |
|         |                            |
|         |           08/20/2002 02:48 |
|         |           AM               |
|---------+---------------------------->
  >-------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                               |
  |       To:       Carsten Leue/Germany/IBM@IBMDE, interfaces <wsrp-interfaces@lists.oasis-open.org>                             |
  |       cc:                                                                                                                     |
  |       Subject:  RE: [wsrp-interfaces] State change in getMarkup?                                                              |
  |                                                                                                                               |
  |                                                                                                                               |
  >-------------------------------------------------------------------------------------------------------------------------------|





-----Original Message-----
From: Carsten Leue [mailto:CLEUE@de.ibm.com]
Sent: Monday, August 19, 2002 8:50 AM
To: interfaces
Subject: [wsrp-interfaces] State change in getMarkup?


One issue I would like to bring up again (maybe just as a clarification for
me) is the ability of an entity to modify state in getMarkup.
If I remember correctly be decided that an entity should not be able to
modify conversational state in getMarkup, primarily for the reason that we
want to be able to write a stateless consumer. Such a consumer would need
to know all of the conversational state of all portlets on a page before it
streams any markup to the client (because the consumer wants to encode the
state in the URL).

1. What about the sessionID? Currently we allow getMarkup to return a
sessionID. Wouln't a stateless consumer need to encode this ID also in the
client URL? How could he do so if it might change in getMarkup?
<AK>
You mean "simple" consumer, right?  I don't think we have a scenario for a
consumer
that would be incapable of returning the session ID to the producer.  Even
the simplest
consumer would have to be able to do this.
</AK>
2. JSR168 does not prevent portlets from modifying state in the service
method (the getMarkup equivalent). How does this match with WSRP?
<AK>
I thought getMarkup was more of a match for the render() phase of the
service method.
Portlets can modify state in the prior two phases, performAction() and
prepare().
</AK>

Best regards
Carsten Leue

-------
Dr. Carsten Leue
Dept.8288, IBM Laboratory B÷blingen , Germany
Tel.: +49-7031-16-4603, Fax: +49-7031-16-4401



----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>





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


Powered by eList eXpress LLC