Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360520 - Cleanup obsolete init parameters
Summary: Cleanup obsolete init parameters
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.5   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 1.5 M3   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 332900
  Show dependency tree
 
Reported: 2011-10-11 05:29 EDT by Ralf Sternberg CLA
Modified: 2011-10-14 09:49 EDT (History)
1 user (show)

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-10-11 05:29:20 EDT
In the initial html file, the size of the display is being measured and transmitted in the init parameters w4t_width and w4t_height. This doesn't seem necessary anymore since the display height is also transmitted by the Application.js in the parameters w1.bounds.width and w1.bounds.height. We should remove the w4t_ init parameters and the related code from the rwt_index.html and evaluate the w1.* parameters in Display.
Comment 1 Tim Buschtoens CLA 2011-10-14 09:49:06 EDT
Fixed as part of Bug 332900. There are no more parameters added to the request in rwt-index.html, everything is handled in display.js. startup" and "rwt_initialize" are still used, as they cant be removed without some heavy refactoring on the server-side.