Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352954 - Add a state info to all requests
Summary: Add a state info to all requests
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: PC Linux-GTK
: P3 enhancement (vote)
Target Milestone: 1.5 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-24 11:38 EDT by Ralf Sternberg CLA
Modified: 2011-08-01 17:21 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Sternberg CLA 2011-07-24 11:38:22 EDT
Currently, only ui requests get a state info set. This can potentially cause problems when framework code relies on the existence of a state info (such as in bug 352620).

A service handler can access the application store and the session store, but RWT.getSessionStore() returns null. This is an exception from the pattern that service handler implementations can and have to use the RWT.getXXX methods. There seems to be no good reason why a service handler should not be able to use a service store.
Comment 1 Ralf Sternberg CLA 2011-08-01 17:21:38 EDT
A state info is now attached to the context in the RWTDelegate servlet.
Changes are in CVS HEAD.