Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352954

Summary: Add a state info to all requests
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 1.5   
Target Milestone: 1.5 M1   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:

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.