Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319964 - Support jQuery for custom widgets
Summary: Support jQuery for custom widgets
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: 1.3   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.4 M3   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 319554
Blocks:
  Show dependency tree
 
Reported: 2010-07-15 06:17 EDT by Ralf Sternberg CLA
Modified: 2010-11-15 15:58 EST (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 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 "$".