| Summary: | Attach startup request parameters to every request | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Stephan Leicht Vogt <stephan.leichtvogt> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | chris |
| Version: | 1.5 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Stephan Leicht Vogt
> We need the custom parameters on every request.
If your application server has access to the http session then you can store the url parameter in there with RWT.getSessionStore().getHttpSession().setAttribute(...)
The parameters are meant as *startup* parameters, thus they should only be available at startup. If I would have to do it again today, I would rather pass them as an argument to the IEntryPoint#createUI() method. Much like the main(String[]) method in standalone Java programs. If you really need the parameters throughout the whole application lifecycle, you can store them in the session like, e.g. like suggested in comment #1. Thats alright for us. Thanks for the insight. |