Jump to: navigation, search

Difference between revisions of "RAP/Client Tweaks"

< RAP
(Replaced content with "This page was obsolete and has been deleted. Please see the history if you need to access the content.")
 
Line 1: Line 1:
| [[RAP|RAP wiki home]] | [http://eclipse.org/rap RAP project home] |
+
This page was obsolete and has been deleted. Please see the history if you need to access the content.
 
+
=== General Information ===
+
 
+
'''Important Note: If you are missing a feature in RAP, try asking for it on the newsgroup and/or opening an enhancement request in bugzilla. If a bugzilla entry already exists, vote for it and/or leave a comment. The RAP-team will always consider input from the community when planning new RAP releases. Some of the Tweaks/Hacks described here are temporary workarounds until the corrosponding bug (linked if one exists) is fixed.'''
+
 
+
In some cases a desired feature or behavior can not be achieved with the RAP Java and CSS (Theming) API. In such cases the alternative might be to write a [http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.rap.help/help/html/advanced/custom-widget.html RAP custom widget] (find some [http://www.eclipse.org/rap/incubator/ here]), or to insert a (possibly [http://eclipsesource.com/blogs/2010/12/08/jquery-eclipse-rap-and-a-carousel/ already] [http://eclipsesource.com/blogs/2010/12/18/a-new-google-maps-widget-for-swt-and-rap/ existing]) javascript-based application using the browser-widget.
+
 
+
However, these are very elaborate solutions, and possibly not needed for minor missing features. A third way would be to tweak/hack the existing client by adding some javascript to the core, or executing it on runtime. For the purpose of this document we will distinguish between "Tweaks" which are relatively save methods using stable API, and "Hacks", which are not supported in any way and might have side-effects or stop working in future versions.
+
 
+
Using the Tweaks/Hacks described here should be relatively '''quick and easy to use'''. Finding new ones will most likely require good knowledge of JavaScript and reading/understanding the existing client. If you do find any, please add them to the document.
+
 
+
=== Methods ===
+
 
+
==== Adding JavaScript to the client ====
+
 
+
TODO
+
 
+
==== Executing JavaScript at runtime ====
+
 
+
TODO
+
 
+
==== Changing client code ====
+
 
+
TODO
+
 
+
==== Finding new Tweaks/Hacks ====
+
 
+
The RAP client core is a heavily modified Qooxdoo 0.7.4, with most of the widgets and advances features newly written specifically for RAP.  
+
TODO
+
 
+
=== Known Tweaks ===
+
 
+
TODO
+
 
+
=== Known Hacks ===
+
 
+
TODO
+

Latest revision as of 12:40, 17 November 2013

This page was obsolete and has been deleted. Please see the history if you need to access the content.