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

Bug 319964

Summary: Support jQuery for custom widgets
Product: [RT] RAP Reporter: Ralf Sternberg <rsternberg>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 1.3   
Target Milestone: 1.4 M3   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 319554    
Bug Blocks:    

Description Ralf Sternberg CLA 2010-07-15 06:17:43 EDT
We should make sure that jQuery can be used for custom widgets without problems.
Comment 1 Ralf Sternberg CLA 2010-11-13 13:44:52 EST
With solving bug 319554, JQuery can now be used in RAP applications.
Comment 2 Ralf Sternberg CLA 2010-11-13 13:56:38 EST
Note that when using JQuery in custom widgets, you should use the variable jQuery instead of $, since $ will currently be shadowed in a closure around all RAP JS code in the standard (aka non-debug) variant.
Comment 3 Ralf Sternberg CLA 2010-11-15 15:58:26 EST
I was wrong in comment#2. This advise does only apply for the RAP JS code itself, not to custom widgets. Custom widget code can also use "$".